SF.net SVN: geany: [1365] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Sat Mar 3 17:02:57 UTC 2007


Revision: 1365
          http://svn.sourceforge.net/geany/?rev=1365&view=rev
Author:   ntrel
Date:     2007-03-03 09:02:57 -0800 (Sat, 03 Mar 2007)

Log Message:
-----------
Use UTF-8 for missing executable error message.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/build.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-03-03 16:54:04 UTC (rev 1364)
+++ trunk/ChangeLog	2007-03-03 17:02:57 UTC (rev 1365)
@@ -7,6 +7,8 @@
    Fix memory leak with utils_remove_ext_from_filename().
  * src/build.c:
    Fix memory leak, remove unused build_create_shellscript() argument.
+ * src/build.c:
+   Use UTF-8 for missing executable error message.
 
 
 2007-03-02  Enrico Tröger  <enrico.troeger at uvena.de>

Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c	2007-03-03 16:54:04 UTC (rev 1364)
+++ trunk/src/build.c	2007-03-03 17:02:57 UTC (rev 1365)
@@ -547,12 +547,7 @@
 		// check whether executable exists
 		if (stat(check_executable, &st) != 0)
 		{
-/// TODO why?
-#ifndef G_OS_WIN32
-			utf8_check_executable = g_strdup(check_executable);
-#else
-			utf8_check_executable = utils_remove_ext_from_filename(doc_list[idx].file_name);
-#endif
+			utf8_check_executable = utils_get_utf8_from_locale(check_executable);
 			msgwin_status_add(_("Failed to execute %s (make sure it is already built)"),
 														utf8_check_executable);
 			goto free_strings;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list