sprintf(appbarmsg,_("No dicfiles specified! Set your preferences first."));
snprintf(appbarmsg, 50, _("No dicfiles specified! Set your preferences first."));
static void worddic_search(unsigned char *srchstrg) {  gchar appbarmsg[50];  int truncated;	GjitenDicfile *dicfile;	GSList *dicfile_node;  word_matches = 0;	if (gjitenApp->conf->dicfile_list == NULL) {    sprintf(appbarmsg,_("No dicfiles specified! Set your preferences first."));    gnome_appbar_set_status(GNOME_APPBAR(wordDic->appbar_mainwin),appbarmsg);    return;  } 	// remove leading and trailing spaces	  while (g_ascii_isspace(srchstrg[0])) srchstrg++;   while (g_ascii_isspace(srchstrg[strlen(srchstrg)-1]) != 0) srchstrg[strlen(srchstrg)-1] = 0;  if (strlen(srchstrg) == 0) return;  gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(wordDic->combo_entry)->entry), srchstrg);  truncated = 0;  while (TRUE) {    if (GTK_TOGGLE_BUTTON(wordDic->radiob_searchall)->active) {			dicfile_node = gjitenApp->conf->dicfile_list;			while (dicfile_node != NULL) {				if (dicfile_node->data != NULL ) {					dicfile = dicfile_node->data;					dicname_printed = FALSE;					search_in_dicfile(dicfile, srchstrg);					worddic_hira_kata_search(dicfile, srchstrg);					if ((gjitenApp->conf->searchlimit_enabled == TRUE) && (word_matches >= gjitenApp->conf->maxwordmatches)) break;				}				dicfile_node = g_slist_next(dicfile_node);      }    }    else {			search_in_dicfile(gjitenApp->conf->selected_dic, srchstrg);			worddic_hira_kata_search(gjitenApp->conf->selected_dic, srchstrg);		}    if ((gjitenApp->conf->searchlimit_enabled == TRUE) && (word_matches >= gjitenApp->conf->maxwordmatches)) truncated = 1;    if (word_matches > 0) break;  // No need to search anymore    if (lower_search_option() == FALSE) break;  }  if (word_matches) {    if (truncated) sprintf(appbarmsg, _("Matches found (truncated): %d"), word_matches);    else sprintf(appbarmsg, _("Matches found: %d"), word_matches);    gnome_appbar_set_status(GNOME_APPBAR(wordDic->appbar_mainwin), appbarmsg);  }  else gnome_appbar_set_status(GNOME_APPBAR(wordDic->appbar_mainwin), _("No match found!"));}