Enlightenment CVS committal Author : shorne Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_intl.c Log Message: Make sure to fallback to original if we cant translate =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_intl.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- e_int_config_intl.c 10 Oct 2006 00:23:30 -0000 1.12 +++ e_int_config_intl.c 10 Oct 2006 00:41:21 -0000 1.13 @@ -1317,7 +1317,10 @@ const char *cs_trans; cs_trans = _intl_charset_upper_get(codeset); - if (cs_trans) cfdata->cur_cs = strdup(cs_trans); + if (cs_trans == NULL) + cfdata->cur_cs = strdup(codeset); + else + cfdata->cur_cs = strdup(cs_trans); } if (modifier) cfdata->cur_mod = strdup(modifier); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs