- 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
This commit is contained in:
parent
0cbe635c1e
commit
5cb771ba81
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue