SF.net SVN: geany-plugins: [22] trunk/spellcheck
eht16 at users.sourceforge.net
eht16 at xxxxx
Fri May 16 12:52:27 UTC 2008
Revision: 22
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=22&view=rev
Author: eht16
Date: 2008-05-16 05:52:26 -0700 (Fri, 16 May 2008)
Log Message:
-----------
Fix possible crashes on Windows when working on unsaved documents (patch by Nick, thanks :)).
Modified Paths:
--------------
trunk/spellcheck/ChangeLog
trunk/spellcheck/src/spellcheck.c
Modified: trunk/spellcheck/ChangeLog
===================================================================
--- trunk/spellcheck/ChangeLog 2008-05-16 12:33:39 UTC (rev 21)
+++ trunk/spellcheck/ChangeLog 2008-05-16 12:52:26 UTC (rev 22)
@@ -6,6 +6,8 @@
location of other files like translations for clarity.
* src/spellcheck.c:
Fix a big memory leak and don't use an unneeded array.
+ Fix possible crashes on Windows when working on unsaved documents
+ (patch by Nick, thanks :)).
2008-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/spellcheck/src/spellcheck.c
===================================================================
--- trunk/spellcheck/src/spellcheck.c 2008-05-16 12:33:39 UTC (rev 21)
+++ trunk/spellcheck/src/spellcheck.c 2008-05-16 12:52:26 UTC (rev 22)
@@ -110,14 +110,14 @@
p_msgwindow->msg_add(COLOR_BLUE, -1, -1,
_("Checking file \"%s\" (lines %d to %d):"),
- doc_list[idx].file_name, first_line + 1, last_line + 1);
+ DOC_FILENAME(idx), first_line + 1, last_line + 1);
}
else
{
first_line = 0;
last_line = p_sci->get_line_count(doc_list[idx].sci);
p_msgwindow->msg_add(COLOR_BLUE, -1, -1, _("Checking file \"%s\":"),
- doc_list[idx].file_name);
+ DOC_FILENAME(idx));
}
/* Set up the document checker */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list