From d9483d04fbcc7da8ca17f65ae87a138433b27ad9 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 16 Oct 2002 23:30:17 +0000 Subject: const fix --- src/XmbFontImp.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/XmbFontImp.hh b/src/XmbFontImp.hh index 86854e1..64a176f 100644 --- a/src/XmbFontImp.hh +++ b/src/XmbFontImp.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: XmbFontImp.hh,v 1.2 2002/10/15 16:44:25 fluxgen Exp $ +// $Id: XmbFontImp.hh,v 1.3 2002/10/16 23:30:17 fluxgen Exp $ #ifndef XMBFONTIMP_HH #define XMBFONTIMP_HH @@ -32,7 +32,7 @@ public: ~XmbFontImp(); bool load(const std::string &name); virtual void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const; - unsigned int textWidth(const char *text, unsigned int len) const; + unsigned int textWidth(const char * const text, unsigned int len) const; unsigned int height() const; bool loaded() const { return m_fontset != 0; } private: -- cgit v0.11.2