no logic changes, cleanup and copyright year updates
This commit is contained in:
parent
62a4403dd4
commit
9f175d307b
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -71,9 +71,9 @@ get_key_info_from_scan_code(int device_flags, int scan_code, int *keys,
|
||||
int ext;
|
||||
int index;
|
||||
|
||||
ext = device_flags &KBD_FLAG_EXT; /* 0x0100 */
|
||||
ext = device_flags & KBD_FLAG_EXT; /* 0x0100 */
|
||||
shift = keys[42] || keys[54];
|
||||
altgr = keys[56] &KBD_FLAG_EXT; /* right alt */
|
||||
altgr = keys[56] & KBD_FLAG_EXT; /* right alt */
|
||||
rv = 0;
|
||||
scan_code = scan_code & 0x7f;
|
||||
index = ext ? g_map[scan_code].code2 : g_map[scan_code].code1;
|
||||
|
10
xrdp/xrdp.c
10
xrdp/xrdp.c
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -306,9 +306,9 @@ main(int argc, char **argv)
|
||||
g_init("xrdp");
|
||||
ssl_init();
|
||||
|
||||
for (test=0;test<argc; test++)
|
||||
for (test = 0; test < argc; test++)
|
||||
{
|
||||
DEBUG(("Argument %i - %s",test,argv[test]));
|
||||
DEBUG(("Argument %i - %s", test, argv[test]));
|
||||
}
|
||||
|
||||
/* check compiled endian with actual endian */
|
||||
@ -435,7 +435,7 @@ main(int argc, char **argv)
|
||||
{
|
||||
g_writeln("");
|
||||
g_writeln("xrdp: A Remote Desktop Protocol server.");
|
||||
g_writeln("Copyright (C) Jay Sorg 2004-2011");
|
||||
g_writeln("Copyright (C) Jay Sorg 2004-2013");
|
||||
g_writeln("See http://xrdp.sourceforge.net for more information.");
|
||||
g_writeln("");
|
||||
g_writeln("Usage: xrdp [options]");
|
||||
@ -453,7 +453,7 @@ main(int argc, char **argv)
|
||||
{
|
||||
g_writeln("");
|
||||
g_writeln("xrdp: A Remote Desktop Protocol server.");
|
||||
g_writeln("Copyright (C) Jay Sorg 2004-2011");
|
||||
g_writeln("Copyright (C) Jay Sorg 2004-2013");
|
||||
g_writeln("See http://xrdp.sourceforge.net for more information.");
|
||||
g_writeln("Version %s", PACKAGE_VERSION);
|
||||
g_writeln("");
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -325,7 +325,7 @@ xrdp_wm_show_edits(struct xrdp_wm *self, struct xrdp_bitmap *combo)
|
||||
g_strncpy(b->caption1, &self->session->client_info->domain[1], 255);
|
||||
b->edit_pos = g_mbstowcs(0, b->caption1, 0);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
if (g_strncmp(name, "username", 255) == 0)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* xrdp: A Remote Desktop Protocol server.
|
||||
*
|
||||
* Copyright (C) Jay Sorg 2004-2012
|
||||
* Copyright (C) Jay Sorg 2004-2013
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
Loading…
Reference in New Issue
Block a user