Mercurial > octave-nkf
comparison src/defaults.cc @ 2466:1573640a9994
[project @ 1996-11-04 03:56:11 by jwe]
author | jwe |
---|---|
date | Mon, 04 Nov 1996 03:56:17 +0000 |
parents | f667d7ec08b9 |
children | 06595bc7f2d0 |
comparison
equal
deleted
inserted
replaced
2465:7ee42ff6536a | 2466:1573640a9994 |
---|---|
91 | 91 |
92 if (Voctave_home != prefix) | 92 if (Voctave_home != prefix) |
93 { | 93 { |
94 int len = prefix.length (); | 94 int len = prefix.length (); |
95 size_t start = 0; | 95 size_t start = 0; |
96 while ((start = s.find (prefix)) != NPOS) | 96 while ((start = retval.find (prefix)) != NPOS) |
97 { | 97 { |
98 retval.replace (start, len, Voctave_home); | 98 retval.replace (start, len, Voctave_home); |
99 start++; | 99 start++; |
100 } | 100 } |
101 } | 101 } |