comparison gui/skin/skin.c @ 32933:258baf2bfeca

Move fntFreeFont() into appFreeStruct(). Part of the skin items which are freed in appFreeStruct() are the fonts, so the best place to free the fonts is together with the rest of the skin items.
author ib
date Thu, 03 Mar 2011 15:00:05 +0000
parents e95ec1b2feea
children 3c57056637cc
comparison
equal deleted inserted replaced
32932:e95ec1b2feea 32933:258baf2bfeca
884 } 884 }
885 885
886 mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] file: %s\n", fn); 886 mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] file: %s\n", fn);
887 887
888 appFreeStruct(); 888 appFreeStruct();
889 fntFreeFont();
890 889
891 linenumber = 0; 890 linenumber = 0;
892 891
893 while (fgets(tmp, sizeof(tmp), skinFile)) { 892 while (fgets(tmp, sizeof(tmp), skinFile)) {
894 linenumber++; 893 linenumber++;