From: Mario Rugiero <[email protected]>
---
src/conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conf.c b/src/conf.c
index fd41102..8e0239a 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -318,7 +318,7 @@ static void _config_write_setting(const config_setting_t
*setting, GString *buf,
if (setting->str[0])
{
char *end;
- if (strtol(setting->str, &end, 10)) end = end;
+ strtol(setting->str, &end, 10);
if (*end == '\0') /* numeric string, quote it */
{
g_string_append_printf(buf, "%s=\"%s\"\n", setting->name,
setting->str);
--
2.17.1
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list