aboutsummaryrefslogtreecommitdiff
path: root/devel/veepee/files/patch-ad
blob: 80345f24a189e9f5202389c14d379303acafdf22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- pylib/appwin.c	2000/08/02 11:59:43	1.1
+++ pylib/appwin.c	2000/08/02 11:59:48
@@ -224,7 +224,7 @@
 
 	/* If this is the default window then also set sys.argv. */
 
-	if (ptr == NULL)
+	if ((ptr == NULL) && (argc != 0))
 		PySys_SetArgv(argc,argv);
 
 unlock: