const fix
fluxgen fluxgen
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/XmbFontImp.hh
→
src/XmbFontImp.hh
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ XmbFontImp(const char *fontname, bool utf8);
~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: