Branch: refs/heads/master Author: Eugene Arshinov earshinov@gmail.com Committer: Eugene Arshinov earshinov@gmail.com Date: Sun, 05 Feb 2012 16:16:03 Commit: 65adabc2a6b4715add15b88488a72c4e941eaab2 https://github.com/geany/geany-plugins/commit/65adabc2a6b4715add15b88488a72c...
Log Message: ----------- geanyminiscript: fix a compilation warning (an excessive argument passed to printf)
Modified Paths: -------------- geanyminiscript/src/gms_gui.c
Modified: geanyminiscript/src/gms_gui.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -193,9 +193,9 @@ static void save_prefs_file( gms_private_t *this ///< pointer of mini-script data structure ) { - GString *gms_pref = g_string_new(getenv("HOME")); + GString *gms_pref = g_string_new("");
- g_string_printf(gms_pref , "%s/plugins", this->config_dir,pref_filename ); + g_string_printf(gms_pref , "%s/plugins", this->config_dir );
if ( g_file_test( this->config_dir, G_FILE_TEST_EXISTS ) != TRUE ) g_mkdir( this->config_dir, 0755 ) ;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).