Correcting syntax.
This commit is contained in:
parent
7ea62cf0fe
commit
35dd1fb4ce
3 changed files with 4 additions and 3 deletions
|
|
@ -85,7 +85,7 @@ void loadfont_callback(SDL_Surface * screen, SDL_Texture * texture, SDL_Renderer
|
||||||
{
|
{
|
||||||
dirlen = dirlen;
|
dirlen = dirlen;
|
||||||
|
|
||||||
#ifndef FORKED_FONTS && #defined __ANDROID__
|
#if defined (__ANDROID__)
|
||||||
while (i-- && !font_thread_aborted)
|
while (i-- && !font_thread_aborted)
|
||||||
#else
|
#else
|
||||||
while (i--)
|
while (i--)
|
||||||
|
|
|
||||||
|
|
@ -1544,7 +1544,7 @@ int charset_works(TuxPaint_Font * font, const char *s)
|
||||||
unsigned count = 0;
|
unsigned count = 0;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
#ifndef FORKED_FONTS && #defined __ANDROID__
|
#if defined (__ANDROID__)
|
||||||
while (*s && !font_thread_aborted)
|
while (*s && !font_thread_aborted)
|
||||||
#else
|
#else
|
||||||
while (*s)
|
while (*s)
|
||||||
|
|
|
||||||
|
|
@ -6239,7 +6239,8 @@ static void mainloop(void)
|
||||||
SDL_Delay(10);
|
SDL_Delay(10);
|
||||||
}
|
}
|
||||||
while (!done);
|
while (!done);
|
||||||
#ifndef FORKED_FONTS && #defined __ANDROID__
|
|
||||||
|
#if defined (__ANDROID__)
|
||||||
/* Closing Tux Paint before the end of font scanning resulted in crashes in the Android port */
|
/* Closing Tux Paint before the end of font scanning resulted in crashes in the Android port */
|
||||||
/* This is an abuse of font_thread_aborted, maybe it is better to use a new, more descriptive marker? */
|
/* This is an abuse of font_thread_aborted, maybe it is better to use a new, more descriptive marker? */
|
||||||
if(!font_thread_done)
|
if(!font_thread_done)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue