summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amiga/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/font.c b/amiga/font.c
index 254f0567e..f930f77d6 100644
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -734,7 +734,7 @@ ULONG ami_unicode_text(struct RastPort *rp, const char *string, ULONG length,
if(!string || string[0]=='\0') return 0;
if(!length) return 0;
- if(nsoption_bool(use_diskfont) == true) {
+ if(__builtin_expect(nsoption_bool(use_diskfont) == true, 0)) {
return ami_font_bm_text(rp, string, length, fstyle, dx, dy);
}