Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wizard: remove debug lines
  • Loading branch information
perexg committed Jan 1, 2016
1 parent f1c3369 commit 4c98cc8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/wizard.c
Expand Up @@ -134,11 +134,9 @@ static void hello_save(idnode_t *in)
size_t l = 0;
int save = 0;

printf("hello save '%s'\n", w->ui_lang);
if (w->ui_lang[0] && strcmp(config.language_ui ?: "", w->ui_lang)) {
free(config.language_ui);
config.language_ui = strdup(w->ui_lang);
printf("language_ui = '%s'\n", config.language_ui);
save = 1;
}
buf[0] = '\0';
Expand All @@ -151,7 +149,6 @@ static void hello_save(idnode_t *in)
if (buf[0] && strcmp(buf, config.language ?: "")) {
free(config.language);
config.language = strdup(buf);
printf("language = '%s'\n", config.language);
save = 1;
}
if (save)
Expand Down

0 comments on commit 4c98cc8

Please sign in to comment.