No reason for font-loading thread to run if we're not running interactively!
This commit is contained in:
parent
04bdc5d7ca
commit
0cac60d300
1 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue