Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c60416e0
Commit
c60416e0
authored
Jun 08, 2007
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(wordify): Use empty_unibyte_string.
parent
f1302253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/search.c
src/search.c
+1
-1
No files found.
src/search.c
View file @
c60416e0
...
...
@@ -2095,7 +2095,7 @@ wordify (string)
if
(
SYNTAX
(
prev_c
)
==
Sword
)
word_count
++
;
if
(
!
word_count
)
return empty_string;
return
empty_
unibyte_
string
;
adjust
=
-
punct_count
+
5
*
(
word_count
-
1
)
+
4
;
if
(
STRING_MULTIBYTE
(
string
))
...
...
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