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:
authorFaryan Rezagholi <faryan.rezagholi@siedle.de>2021-12-25 14:12:44 +0300
committerFaryan Rezagholi <faryan.rezagholi@siedle.de>2021-12-25 14:12:44 +0300
commit8becbae2cdbb7cee86abc238f5eace33e87baea1 (patch)
tree5f6070824f2abe2427cd8922c0ddca1c561ce17e /cmdline.c
parentdc1b3ceb8b8d86a9c3cedaa257a1bd2cf69d819f (diff)
merged from tags/0.76
Diffstat (limited to 'cmdline.c')
-rw-r--r--cmdline.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmdline.c b/cmdline.c
index 62d65e19..57b6a9f5 100644
--- a/cmdline.c
+++ b/cmdline.c
@@ -397,6 +397,14 @@ int cmdline_process_param(const char *p, char *value,
}
}
+#ifdef PUTTYNG
+ if (!stricmp(p, "-hwndparent")) {
+ RETURN(2);
+ hwnd_parent = atoi(value);
+ return 2;
+ }
+#endif
+
if (!strcmp(p, "-load")) {
RETURN(2);
/* This parameter must be processed immediately rather than being