diff options
author | joye <joye> | 2015-06-24 21:04:55 (GMT) |
---|---|---|
committer | joye <joye> | 2015-06-24 21:04:55 (GMT) |
commit | 1532d0ed55d2c814c83bb5798eeb34cc25869304 (patch) | |
tree | 0aafca012f06dcd017d768b585fd026da983d81c /src/bltGraphSup.C | |
parent | 821e38f363b36d8ce19b6af6f5940db4f2adbadd (diff) | |
download | blt-1532d0ed55d2c814c83bb5798eeb34cc25869304.zip blt-1532d0ed55d2c814c83bb5798eeb34cc25869304.tar.gz blt-1532d0ed55d2c814c83bb5798eeb34cc25869304.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGraphSup.C')
-rw-r--r-- | src/bltGraphSup.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bltGraphSup.C b/src/bltGraphSup.C index 0072f7a..0213fb3 100644 --- a/src/bltGraphSup.C +++ b/src/bltGraphSup.C @@ -480,7 +480,7 @@ void Graph::getTextExtents(Tk_Font font, const char *text, int textLen, int lineLen =0; const char *line =NULL; const char *p, *pend; - for (p = line = text, pend = text + textLen; p < pend; p++) { + for (p =line=text, pend=text+textLen; p<pend; p++) { if (*p == '\n') { if (lineLen > 0) { int lineWidth = Tk_TextWidth(font, line, lineLen); |