OSDN Git Service

ファイルの存在をチェックする条件のミスを修正
authorcaprice <caprice@users.sourceforge.jp>
Sun, 20 Apr 2014 13:35:36 +0000 (22:35 +0900)
committercaprice <caprice@users.sourceforge.jp>
Sun, 20 Apr 2014 13:35:36 +0000 (22:35 +0900)
include/extension.hpp

index b5443d1..b7ca506 100644 (file)
@@ -29,7 +29,7 @@ public:
     };
     
     extension() {
-        if(boost::filesystem::exists(unpacked_extension_path)) {
+        if(!boost::filesystem::exists(unpacked_extension_path)) {
             boost::filesystem::create_directories(unpacked_extension_path);
         }
         instance = this;