summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-07-05 09:09:56 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-07-05 09:09:56 +0000
commit1f3ad559214baf2a60006f6948c495d34af7cd2e (patch)
treed601206ce65628b2b79b97e14584473a31504066 /Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h
parent155e253be51713c1bcf4f9f440ecf69bb4b88bbe (diff)
dvisvgm portability patches from Martin
git-svn-id: svn://tug.org/texlive/trunk@19241 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h b/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h
index 72caff31f8d..21cb79d0a49 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h
+++ b/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/InputBuffer.h
@@ -4,7 +4,7 @@
** This file is part of dvisvgm -- the DVI to SVG converter **
** Copyright (C) 2005-2010 Martin Gieseking <martin.gieseking@uos.de> **
** **
-** This program is free software; you can redistribute it and/or **
+** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
** published by the Free Software Foundation; either version 3 of **
** the License, or (at your option) any later version. **
@@ -15,7 +15,7 @@
** GNU General Public License for more details. **
** **
** You should have received a copy of the GNU General Public License **
-** along with this program; if not, see <http://www.gnu.org/licenses/>. **
+** along with this program; if not, see <http://www.gnu.org/licenses/>. **
*************************************************************************/
#ifndef INPUTBUFFER_H
@@ -101,7 +101,7 @@ class CharInputBuffer : public InputBuffer
_size = size;
}
- void assign (const char *buf) {assign(buf, strlen(buf));}
+ void assign (const char *buf) {assign(buf, std::strlen(buf));}
int peek () const {return _size > 0 ? *_pos : -1;}
int peek (unsigned n) const {return _size >= n ? _pos[n] : -1;}
bool eof () const {return _size <= 0;}