From 85df94f47a32ecea89e6905fb43af69a0a392fc6 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 23 Feb 2015 18:47:58 +0000 Subject: more microoptimisation --- amiga/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3