diff options
author | scuri <scuri> | 2010-07-29 23:26:26 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-07-29 23:26:26 +0000 |
commit | b7a579c06c6a15c8dcfe3327bd7f082032d6a753 (patch) | |
tree | 43040b978ee22b30e4b183e2eca7c5454174d0b7 /src/cd_text.c | |
parent | b3fee819aa5a7123c43ad37d25c806d9d84e1760 (diff) |
*** empty log message ***
Diffstat (limited to 'src/cd_text.c')
-rw-r--r-- | src/cd_text.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cd_text.c b/src/cd_text.c index 32b0645..3a9eaa1 100644 --- a/src/cd_text.c +++ b/src/cd_text.c @@ -292,9 +292,6 @@ char* cdCanvasNativeFont(cdCanvas* canvas, const char* font) strcpy(native_font, canvas->native_font); - if (!font || font[0] == 0) - return native_font; - if (font == (char*)CD_QUERY) { char style[200] = " "; @@ -311,6 +308,9 @@ char* cdCanvasNativeFont(cdCanvas* canvas, const char* font) return native_font; } + if (!font || font[0] == 0) + return native_font; + if (canvas->cxNativeFont) { if (canvas->cxNativeFont(canvas->ctxcanvas, font)) |