Skip to content

Commit

Permalink
Fixed|MSVC: Build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 17, 2017
1 parent 9f76405 commit 53c7a57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/apps/client/src/ui/widgets/packageinfodialog.cpp
Expand Up @@ -185,7 +185,8 @@ DENG_GUI_PIMPL(PackageInfoDialog)
{
try
{
foreach (String ext, StringList({ ".jpg", ".jpeg", ".png" }))
static StringList const imageExts({ ".jpg", ".jpeg", ".png" });
foreach (String ext, imageExts)
{
String const imgPath = packagePath / "icon" + ext;
if (ImageFile const *img = FS::get().root().tryLocate<ImageFile const>(imgPath))
Expand Down

0 comments on commit 53c7a57

Please sign in to comment.