minor const fix
fluxgen fluxgen
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/Font.hh
→
src/Font.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: 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 @@ @param text text to check size
@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: