Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
1bb1e67
for
text.c
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Mar 18, 2004, 12:04:29 AM (
17 years
ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master
,
barnowl_perlaim
,
debian
,
owl
,
release-1.4
,
release-1.5
,
release-1.6
,
release-1.7
,
release-1.8
,
release-1.9
Children:
1971b59
Parents:
8721756
Message:
Fix two minor issues found by valgrind
File:
1 edited
text.c
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
text.c
r2de4f20
r1bb1e67
125
125
126
126
/* if the last char wasn't a \n there's one more line */
127
if (i
n[i-1]!='\n') lines++;
127
if (i
>0 && i
n[i-1]!='\n') lines++;
128
128
129
129
return(lines);
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive