projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle overlaps better when executing DiffCommands.
[ardour.git]
/
libs
/
pbd
/
whitespace.cc
diff --git
a/libs/pbd/whitespace.cc
b/libs/pbd/whitespace.cc
index d73fced321a00f73f83522cc2d0e7e561824632d..00d47523db184bcfdeaeaaeca5616e0e32c0cb6b 100644
(file)
--- a/
libs/pbd/whitespace.cc
+++ b/
libs/pbd/whitespace.cc
@@
-39,7
+39,7
@@
strip_whitespace_edges (string& str)
/* strip front */
for (i = 0; i < len; ++i) {
- if (
isgraph
(str[i])) {
+ if (
!isspace
(str[i])) {
break;
}
}
@@
-62,7
+62,7
@@
strip_whitespace_edges (string& str)
}
do {
- if (
isgraph
(str[i]) || i == 0) {
+ if (
!isspace
(str[i]) || i == 0) {
break;
}