Debug output function changes

pull/26/head
parent f1d1f7267e
commit 27911c9e02

@ -481,9 +481,9 @@ int yon_confirmation_dialog_call(GtkWidget *self,dialog_confirmation_data *data)
return resp; return resp;
} }
void yon_debug_output(char*text){ void yon_debug_output(char *pattern,char*text){
if (template_config->debug_mode){ if (template_config->debug_mode){
printf("%s\n",text); printf(pattern,text);
} }
} }

@ -251,7 +251,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...);
*/ */
void yon_open_browser(GtkWidget *self, char *link); void yon_open_browser(GtkWidget *self, char *link);
void yon_debug_output(char*text); void yon_debug_output(char *pattern,char*text);
/**yon_ubl_connect_config(_template_config *config) /**yon_ubl_connect_config(_template_config *config)
* [EN] * [EN]

Loading…
Cancel
Save