Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/goo/GString.cc
diff options
context:
space:
mode:
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>2002-09-18 18:58:15 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2002-09-18 18:58:15 (GMT)
commitd99fb4f4acd14fcdbda968abd907547dcc7af40c (patch)
treebbd52b808b583073e6d1d7c1043158fe8fd6fe4c /pdf/goo/GString.cc
parent28626f3d3c9aacc49c6f79353e7fcb2e49360b02 (diff)
Completely synched with Xpdf 0.90
doc changes (version numbers), typo fixes
Diffstat (limited to 'pdf/goo/GString.cc')
-rw-r--r--pdf/goo/GString.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/goo/GString.cc b/pdf/goo/GString.cc
index e089091..6225932 100644
--- a/pdf/goo/GString.cc
+++ b/pdf/goo/GString.cc
@@ -44,7 +44,7 @@ GString::GString() {
s[0] = '\0';
}
-GString::GString(char *s1) {
+GString::GString(const char *s1) {
int n = strlen(s1);
s = NULL;
@@ -52,7 +52,7 @@ GString::GString(char *s1) {
memcpy(s, s1, n + 1);
}
-GString::GString(char *s1, int length1) {
+GString::GString(const char *s1, int length1) {
s = NULL;
resize(length = length1);
memcpy(s, s1, length * sizeof(char));