summaryrefslogtreecommitdiff
path: root/splash/SplashFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'splash/SplashFont.h')
-rw-r--r--splash/SplashFont.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/splash/SplashFont.h b/splash/SplashFont.h
index 45875c9f..8677f017 100644
--- a/splash/SplashFont.h
+++ b/splash/SplashFont.h
@@ -46,7 +46,7 @@ class SplashPath;
class SplashFont {
public:
- SplashFont(SplashFontFile *fontFileA, SplashCoord *matA,
+ SplashFont(SplashFontFile *fontFileA, const SplashCoord *matA,
const SplashCoord *textMatA, bool aaA);
// This must be called after the constructor, so that the subclass
@@ -61,7 +61,7 @@ public:
SplashFontFile *getFontFile() { return fontFile; }
// Return true if <this> matches the specified font file and matrix.
- bool matches(SplashFontFile *fontFileA, SplashCoord *matA,
+ bool matches(SplashFontFile *fontFileA, const SplashCoord *matA,
const SplashCoord *textMatA) const {
return fontFileA == fontFile &&
matA[0] == mat[0] && matA[1] == mat[1] &&