mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-12 21:35:13 +00:00
Merge branch 'QB64-Phoenix-Edition:main' into miniaudio-upgrade
This commit is contained in:
commit
7a062a46aa
|
@ -16268,8 +16268,9 @@ FUNCTION idedisplaybox
|
||||||
IF o(7).sel = 1 AND x = 1 THEN
|
IF o(7).sel = 1 AND x = 1 THEN
|
||||||
oldhandle = idecustomfonthandle
|
oldhandle = idecustomfonthandle
|
||||||
idecustomfonthandle = _LOADFONT(v$, v%, "MONOSPACE")
|
idecustomfonthandle = _LOADFONT(v$, v%, "MONOSPACE")
|
||||||
IF idecustomfonthandle = -1 THEN
|
IF idecustomfonthandle < 1 THEN
|
||||||
'failed! - revert to default settings
|
'failed! - revert to default settings
|
||||||
|
_MessageBox "Font not found!", "ERROR: Font not found, or is invalid format, at specified location. Reverting back to existing font.", "error"
|
||||||
o(7).sel = 0: idetxt(o(8).txt) = "C:\Windows\Fonts\lucon.ttf": idetxt(o(9).txt) = "21": IF IDE_UseFont8 THEN _FONT 8 ELSE _FONT 16
|
o(7).sel = 0: idetxt(o(8).txt) = "C:\Windows\Fonts\lucon.ttf": idetxt(o(9).txt) = "21": IF IDE_UseFont8 THEN _FONT 8 ELSE _FONT 16
|
||||||
ELSE
|
ELSE
|
||||||
_FONT idecustomfonthandle
|
_FONT idecustomfonthandle
|
||||||
|
|
Loading…
Reference in a new issue