summaryrefslogtreecommitdiff
path: root/src/testpattern/testpatternl.l
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2008-10-26 16:12:23 +0000
committerRoger Leigh <rleigh@debian.org>2008-10-26 16:12:23 +0000
commit77e55a7b8b26c9adb87c0adf38a60eb6956c9af4 (patch)
treea1df00b3157148d371f70063eb8be9467d513ad8 /src/testpattern/testpatternl.l
parent7e12d32a372b5661f80b68009730cf47a6bfd062 (diff)
Imported Upstream version 4.3.99+cvs20050801
Diffstat (limited to 'src/testpattern/testpatternl.l')
-rw-r--r--src/testpattern/testpatternl.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testpattern/testpatternl.l b/src/testpattern/testpatternl.l
index 96eb976..3d430fb 100644
--- a/src/testpattern/testpatternl.l
+++ b/src/testpattern/testpatternl.l
@@ -1,5 +1,5 @@
/*
- * "$Id: testpatternl.l,v 1.16 2004/04/14 02:21:21 rlk Exp $"
+ * "$Id: testpatternl.l,v 1.17 2005/07/28 00:58:45 rlk Exp $"
*
* Test pattern generator for Gimp-Print
*
@@ -48,7 +48,7 @@ c_strstrip(char *s)
return sn;
}
else
- return (char *) s;
+ return strdup(s);
}
#define DBG(x) \