Sam Hocevar 6 лет назад
Родитель
Сommit
af51176852
2 измененных файлов: 2 добавлений и 1 удалений
  1. +1
    -1
      src/image/codec/gdiplus-image.cpp
  2. +1
    -0
      src/t/test-common.cpp

+ 1
- 1
src/image/codec/gdiplus-image.cpp Просмотреть файл

@@ -61,7 +61,7 @@ ResourceCodecData* GdiPlusImageCodec::Load(std::string const &path)
return nullptr; return nullptr;
} }


array<std::string> pathlist = sys::get_path_list(path);
auto pathlist = sys::get_path_list(path);
Gdiplus::Bitmap *bitmap = nullptr; Gdiplus::Bitmap *bitmap = nullptr;
for (auto const &fullpath : pathlist) for (auto const &fullpath : pathlist)
{ {


+ 1
- 0
src/t/test-common.cpp Просмотреть файл

@@ -14,6 +14,7 @@
# include "config.h" # include "config.h"
#endif #endif


#include <lol/engine.h> // this is required for SDL_main
#include <lol/base/lolunit.h> #include <lol/base/lolunit.h>


#include <cstdio> #include <cstdio>


Загрузка…
Отмена
Сохранить