about summary refs log tree commit diff
path: root/generator/pbmtextps.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-12-31 22:23:30 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-12-31 22:23:30 +0000
commitbc1f743694807d86246a2d4a62d85ff8fbf5ed21 (patch)
tree2b8a67c3b5cb20b58b7626f89a8ddc45fda8ea15 /generator/pbmtextps.c
parent4aa3328481329d837ba65698705a2e32c95e405b (diff)
downloadnetpbm-mirror-bc1f743694807d86246a2d4a62d85ff8fbf5ed21.tar.gz
netpbm-mirror-bc1f743694807d86246a2d4a62d85ff8fbf5ed21.tar.xz
netpbm-mirror-bc1f743694807d86246a2d4a62d85ff8fbf5ed21.zip
Release 10.35.21
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@191 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator/pbmtextps.c')
-rw-r--r--generator/pbmtextps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generator/pbmtextps.c b/generator/pbmtextps.c
index ef8ae008..08c77564 100644
--- a/generator/pbmtextps.c
+++ b/generator/pbmtextps.c
@@ -93,7 +93,8 @@ parseCommandLine(int argc, char ** argv,
 
     optParseOptions3(&argc, argv, opt, sizeof(opt), 0);
 
-    text = NULL;
+    text = strdup("");
+    totaltextsize = 1;
 
     for (i = 1; i < argc; i++) {
         if (i > 1) {