diff --git a/config.cpp b/config.cpp index b72393d..e586eee 100644 --- a/config.cpp +++ b/config.cpp @@ -1,4 +1,4 @@ -#include"config.h" +#include"config.h" #include"json_tools.h" #include #include @@ -14,7 +14,7 @@ namespace bool LoadConfig(const OSString &filename) { Json::Value js; - + if(!LoadJson(js,filename)) { LOG_ERROR(OS_TEXT("load config file<")+filename+OS_TEXT("> failed.")); diff --git a/main.cpp b/main.cpp index 47a02c9..05ed5f1 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include"cmd_parse.h" @@ -83,7 +83,7 @@ int main(int argc,char **argv) if(cp.Find("/mip")!=-1)gen_mipmaps=true; //检测是否生成mipmaps ParamColorKey(cp); - ParseParamFormat(cp); //检测推荐格式 + ParseParamFormat(cp); //检测推荐格式 ilInit(); diff --git a/pixel_format.cpp b/pixel_format.cpp index 6cd7579..2b92a62 100644 --- a/pixel_format.cpp +++ b/pixel_format.cpp @@ -1,4 +1,4 @@ -#include"pixel_format.h" +#include"pixel_format.h" #include #include #include diff --git a/pixel_format.h b/pixel_format.h index dd64db3..46fb484 100644 --- a/pixel_format.h +++ b/pixel_format.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once #include @@ -78,4 +78,4 @@ public: const PixelFormat *GetPixelFormat(ColorFormat); ///<根据获取获取象素格式类型 const PixelFormat *GetPixelFormat(const char *name); ///<根据名称获取象素格式类型 -void PrintFormatList(); \ No newline at end of file +void PrintFormatList();