We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52c78d2 commit f8b0c39Copy full SHA for f8b0c39
1 file changed
kauai/src/fontsdl.cpp
@@ -247,10 +247,17 @@ bool NTL::FInit(void)
247
goto LFail;
248
249
// Load fonts
250
- fRet = _FLoadFontTable();
+ if (!_FLoadFontTable())
251
+ goto LFail;
252
+
253
Assert(_pgst->IvMac() > 0, "No fonts loaded");
254
Assert(_onnSystem != 0, "System font number not set");
255
256
+ if (_pgst->IvMac() == 0)
257
258
259
+ fRet = fTrue;
260
261
LFail:
262
if (!fRet)
263
PushErc(ercGfxNoFontList);
0 commit comments