Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
bf091be7
Commit
bf091be7
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
chars: don't try to see a character in an empty line
This fixes
https://savannah.gnu.org/bugs/?48578
.
parent
103dd063
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/chars.c
+3
-0
src/chars.c
with
3 additions
and
0 deletions
+3
-0
src/chars.c
View file @
bf091be7
...
...
@@ -190,6 +190,9 @@ bool is_word_mbchar(const char *c, bool allow_punct)
{
assert
(
c
!=
NULL
);
if
(
*
c
==
'\0'
)
return
FALSE
;
if
(
is_alnum_mbchar
(
c
))
return
TRUE
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment