From c613bf584b199a7e4373096791ccadf0675f32aa Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 16 Oct 2002 23:26:41 +0000 Subject: minor const fix --- src/Font.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Font.hh b/src/Font.hh index 9de7e7a..b7b9cf2 100644 --- a/src/Font.hh +++ b/src/Font.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Font.hh,v 1.6 2002/10/15 10:55:30 fluxgen Exp $ +//$Id: Font.hh,v 1.7 2002/10/16 23:26:41 fluxgen Exp $ #ifndef FBTK_FONT_HH #define FBTK_FONT_HH @@ -58,8 +58,8 @@ public: @param size length of text in bytes @return size of text in pixels */ - unsigned int textWidth(const char *text, unsigned int size) const; - unsigned int height() const; + unsigned int textWidth(const char * const text, unsigned int size) const; + unsigned int height() const; void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const; bool isAntialias() const { return m_antialias; } private: -- cgit v0.11.2