diff liboctave/str-vec.cc @ 3040:443851377f3f

[project @ 1997-06-06 09:29:28 by jwe]
author jwe
date Fri, 06 Jun 1997 09:34:14 +0000
parents b779a5b8aed4
children d14c483b3c12
line wrap: on
line diff
--- a/liboctave/str-vec.cc
+++ b/liboctave/str-vec.cc
@@ -47,7 +47,9 @@
 {
   int n = 0;
 
-  while (*s++)
+  const char * const *t = s;
+
+  while (*t++)
     n++;
 
   resize (n);