No reason for font-loading thread to run if we're not running interactively!

This commit is contained in:
William Kendrick 2005-10-15 07:19:45 +00:00
parent 04bdc5d7ca
commit 0cac60d300

View file

@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - October 9, 2005
June 14, 2002 - October 14, 2005
*/
@ -2545,10 +2545,6 @@ int main(int argc, char * argv[])
SDL_Rect dest;
SDL_Rect src;
#ifdef FORKED_FONTS
run_font_scanner();
#endif
/* Set up locale support */
setlocale(LC_ALL, "");
@ -2557,6 +2553,10 @@ int main(int argc, char * argv[])
/* Set up! */
setup(argc, argv);
#ifdef FORKED_FONTS
run_font_scanner();
#endif
#if 0
while(!font_thread_done)
{
@ -14912,8 +14912,10 @@ static char * uppercase(char * str)
free(dest);
}
#ifdef DEBUG
printf(" ORIGINAL: %s\n"
"UPPERCASE: %s\n\n", str, ustr);
#endif
}
else
{