Upgrade for debug output fucntion

pull/28/head
parent 023f1f82f0
commit 0f85305c12

@ -481,10 +481,11 @@ int yon_confirmation_dialog_call(GtkWidget *self,dialog_confirmation_data *data)
return resp; return resp;
} }
void yon_debug_output(char *pattern,char*text){ char* yon_debug_output(char *pattern,char*text){
if (template_config->debug_mode){ if (template_config->debug_mode){
printf(pattern,text); printf(pattern,text);
} }
return text;
} }
// standard functions // standard functions

@ -252,7 +252,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 *pattern,char*text); char *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