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@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.