mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-31 08:26:22 +00:00
Fix segfault for urlopen[1]
This commit is contained in:
@@ -2075,7 +2075,7 @@ cons_executable_setting(void)
|
|||||||
//TODO: there needs to be a way to get all the "locales"/schemes so we can
|
//TODO: there needs to be a way to get all the "locales"/schemes so we can
|
||||||
//display the default openers for all filetypes
|
//display the default openers for all filetypes
|
||||||
char* urlopen = prefs_get_string_with_option(PREF_URL_OPEN_CMD, "");
|
char* urlopen = prefs_get_string_with_option(PREF_URL_OPEN_CMD, "");
|
||||||
cons_show("Default '/url open' command (/executable urlopen) : %s", urlopen[1]);
|
cons_show("Default '/url open' command (/executable urlopen) : %s", urlopen);
|
||||||
g_free(urlopen);
|
g_free(urlopen);
|
||||||
|
|
||||||
char* urlsave = prefs_get_string(PREF_URL_SAVE_CMD);
|
char* urlsave = prefs_get_string(PREF_URL_SAVE_CMD);
|
||||||
|
|||||||
Reference in New Issue
Block a user