forked from speedie/spmenu
for some reason, spmenu_run didn't work, but this commit seems to fix it
This commit is contained in:
parent
a988dc7108
commit
e2e56716d9
|
@ -163,11 +163,8 @@ readargs(int argc, char *argv[])
|
||||||
else if (!strcmp(argv[i], "-p")) /* adds prompt to left of input field */
|
else if (!strcmp(argv[i], "-p")) /* adds prompt to left of input field */
|
||||||
prompt = argv[++i];
|
prompt = argv[++i];
|
||||||
else if (!strcmp(argv[i], "-fn")) /* font or font set */
|
else if (!strcmp(argv[i], "-fn")) /* font or font set */
|
||||||
#if USEPANGO
|
//strcpy(font[0], argv[++i]);
|
||||||
strcpy(font, argv[++i]);
|
font[0] = argv[++i];
|
||||||
#else
|
|
||||||
strcpy(font[0], argv[++i]);
|
|
||||||
#endif
|
|
||||||
else if (!strcmp(argv[i], "-nmt")) /* normal mode text */
|
else if (!strcmp(argv[i], "-nmt")) /* normal mode text */
|
||||||
strcpy(normtext, argv[++i]);
|
strcpy(normtext, argv[++i]);
|
||||||
else if (!strcmp(argv[i], "-imt")) { /* insert mode text */
|
else if (!strcmp(argv[i], "-imt")) { /* insert mode text */
|
||||||
|
|
Loading…
Reference in a new issue