more microoptimisation

This commit is contained in:
Chris Young 2015-02-23 18:47:58 +00:00
parent 6fda772b89
commit 85df94f47a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}