diff options
author | rmcardle <riley@mremoteng.org> | 2012-01-13 08:14:16 +0400 |
---|---|---|
committer | rmcardle <riley@mremoteng.org> | 2012-01-13 08:14:16 +0400 |
commit | 8ada865202baff9c85aa83fc9eb64a30970bf3b0 (patch) | |
tree | 4f2025c5c2bb1247bcd182979869f35d8c4bff46 /CMDLINE.C | |
parent | e9844da78292b399b8a1a359c50caf2a4b42aec4 (diff) |
Fix main window of parent not moving to top when the user clicks within the PuTTYNG window. Add #ifdef PUTTYNG around all PuTTYNG additions.
Diffstat (limited to 'CMDLINE.C')
-rw-r--r-- | CMDLINE.C | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -166,12 +166,14 @@ int cmdline_process_param(char *p, char *value, int need_save, Config *cfg) { int ret = 0; +#ifdef PUTTYNG if (!stricmp(p, "-hwndparent")) { RETURN(2); hwnd_parent = atoi(value); return 2; - } - if (!strcmp(p, "-load")) { + } +#endif // PUTTYNG + if (!strcmp(p, "-load")) { RETURN(2); /* This parameter must be processed immediately rather than being * saved. */ |