Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmcardle <riley@mremoteng.org>2012-01-13 08:14:16 +0400
committerrmcardle <riley@mremoteng.org>2012-01-13 08:14:16 +0400
commit8ada865202baff9c85aa83fc9eb64a30970bf3b0 (patch)
tree4f2025c5c2bb1247bcd182979869f35d8c4bff46 /CMDLINE.C
parente9844da78292b399b8a1a359c50caf2a4b42aec4 (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.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMDLINE.C b/CMDLINE.C
index 0ab869f0..6313d629 100644
--- a/CMDLINE.C
+++ b/CMDLINE.C
@@ -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. */