allow windowid to be hexadecimal, which is what krdc actually uses...

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@870 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2005-03-30 19:51:41 +00:00
parent 6b43ce2883
commit abb049b7d0
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ state, but might cause problems with some Xservers like Xvnc.
.TP
.BR "-X <windowid>"
Embed rdesktop-window in another window. The windowid is expected to
be decimal.
be decimal or hexadecimal (prefixed by 0x).
.TP
.BR "-a <bpp>"
Sets the colour depth for the connection (8, 15, 16 or 24).

View File

@ -558,7 +558,7 @@ main(int argc, char *argv[])
break;
case 'X':
g_embed_wnd = strtol(optarg, NULL, 10);
g_embed_wnd = strtol(optarg, NULL, 0);
break;
case 'a':