From 5cb771ba8101644ec2797725d947794b052ef6a4 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Fri, 15 Sep 2006 22:29:24 +0000 Subject: [PATCH] - Whoops. Too much &-ed values to the file_test bitmask. Sorry 'bout that. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1181 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/backend/global_preferences.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/global_preferences.cc b/src/backend/global_preferences.cc index dbb6f1f..9367957 100644 --- a/src/backend/global_preferences.cc +++ b/src/backend/global_preferences.cc @@ -45,7 +45,7 @@ GlobalPreferences::get_preferences_dir() const throw(Glib::FileError) { using namespace Glib; static const ustring dir = get_home_dir() + G_DIR_SEPARATOR_S + ".sgpemv2"; - if(!file_test(dir, FILE_TEST_EXISTS & FILE_TEST_IS_DIR)) + if(!file_test(dir, FILE_TEST_IS_DIR)) { const int err = g_mkdir(dir.c_str(), 0755); if(err != 0)