diff options
Diffstat (limited to 'src/fontpack.c')
-rw-r--r-- | src/fontpack.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fontpack.c b/src/fontpack.c index 3faf0e92..924d4781 100644 --- a/src/fontpack.c +++ b/src/fontpack.c | |||
@@ -1114,7 +1114,7 @@ static void findCharactersInCMap_(iGmRequest *d, iGmRequest *req) { | |||
1114 | format_String(&result, "font.found chars:%s packs:", cstr_String(missingChars)); | 1114 | format_String(&result, "font.found chars:%s packs:", cstr_String(missingChars)); |
1115 | iConstForEach(StringList, s, matchingPacks) { | 1115 | iConstForEach(StringList, s, matchingPacks) { |
1116 | if (s.pos != 0) { | 1116 | if (s.pos != 0) { |
1117 | appendCStr_String(&result, ";"); | 1117 | appendCStr_String(&result, ","); |
1118 | } | 1118 | } |
1119 | append_String(&result, s.value); | 1119 | append_String(&result, s.value); |
1120 | } | 1120 | } |
@@ -1131,9 +1131,11 @@ static void findCharactersInCMap_(iGmRequest *d, iGmRequest *req) { | |||
1131 | cstr_String(meta_GmRequest(d)), | 1131 | cstr_String(meta_GmRequest(d)), |
1132 | cstr_String(url_GmRequest(d))); | 1132 | cstr_String(url_GmRequest(d))); |
1133 | } | 1133 | } |
1134 | fflush(stdout); | 1134 | // fflush(stdout); |
1135 | delete_String(userData_Object(d)); | 1135 | delete_String(userData_Object(d)); |
1136 | iReleaseLater(d); | 1136 | /* We can't delete ourselves; threads must be joined from another thread. */ |
1137 | SDL_PushEvent((SDL_Event *) &(SDL_UserEvent){ | ||
1138 | .type = SDL_USEREVENT, .code = releaseObject_UserEventCode, .data1 = d }); | ||
1137 | } | 1139 | } |
1138 | 1140 | ||
1139 | void searchOnlineLibraryForCharacters_Fonts(const iString *chars) { | 1141 | void searchOnlineLibraryForCharacters_Fonts(const iString *chars) { |