projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2005-09-28 [paul] 1.9.14cvs59
[claws.git]
/
src
/
gtk
/
gtkaspell.c
diff --git
a/src/gtk/gtkaspell.c
b/src/gtk/gtkaspell.c
index 98e1ceccfc4fd42d63b5dc8a9c61e2292d379eac..18de6b3f83705bda478f738a992b07691bce4bcf 100644
(file)
--- a/
src/gtk/gtkaspell.c
+++ b/
src/gtk/gtkaspell.c
@@
-1043,7
+1043,7
@@
static gboolean get_word_from_pos(GtkAspell *gtkaspell, gint pos,
gtkaspell->gtkaspeller->dictionary->encoding);
g_free(tmp);
strncpy(buf, conv, buflen-1);
- buf[buflen]='\0';
+ buf[buflen
-1
]='\0';
g_free(conv);
} else
return FALSE;