commit | 272fc1023aa8e2eab7c369e6a5647915013459a3 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Aug 01 14:25:22 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Aug 01 14:25:22 2010 +0000 |
tree | 1a5648e286586456fada3f1074eff2aadcee6c93 | |
parent | 5b1d35b9c74d726536afdd60cf629fba5bd66425 [diff] [blame] |
#6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.
diff --git a/Demo/embed/loop.c b/Demo/embed/loop.c index 2f7fe62..4a341fd 100644 --- a/Demo/embed/loop.c +++ b/Demo/embed/loop.c
@@ -19,7 +19,7 @@ count = atoi(argv[2]); } - Py_SetProgramName(argv[0]); + Py_SetProgramName(L"loop"); /* uncomment this if you don't want to load site.py */ /* Py_NoSiteFlag = 1; */