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 */
|
||||
prompt = argv[++i];
|
||||
else if (!strcmp(argv[i], "-fn")) /* font or font set */
|
||||
#if USEPANGO
|
||||
strcpy(font, argv[++i]);
|
||||
#else
|
||||
strcpy(font[0], argv[++i]);
|
||||
#endif
|
||||
//strcpy(font[0], argv[++i]);
|
||||
font[0] = argv[++i];
|
||||
else if (!strcmp(argv[i], "-nmt")) /* normal mode text */
|
||||
strcpy(normtext, argv[++i]);
|
||||
else if (!strcmp(argv[i], "-imt")) { /* insert mode text */
|
||||
|
|
Loading…
Reference in a new issue