Fixed abnormal exit of threaded font scan which prevented enabling text/label tools on some environment such as Rocky Linux 8.

This commit is contained in:
dolphin6k 2021-12-22 22:24:53 +09:00 committed by Pere Pujal i Carabantes
parent 35dd1fb4ce
commit be5cbc22ba

View file

@ -1192,7 +1192,7 @@ void run_font_scanner(SDL_Surface * screen, SDL_Texture * texture, SDL_Renderer
*walk++ = '\0';
}
reliable_write(font_socket_fd, buf, size);
exit(0);
_exit(0);
}