aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/SelectWorldScreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/SelectWorldScreen.cpp')
-rw-r--r--Minecraft.Client/SelectWorldScreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/SelectWorldScreen.cpp b/Minecraft.Client/SelectWorldScreen.cpp
index a07eb7b2..068d9b6c 100644
--- a/Minecraft.Client/SelectWorldScreen.cpp
+++ b/Minecraft.Client/SelectWorldScreen.cpp
@@ -246,7 +246,7 @@ void SelectWorldScreen::WorldSelectionList::selectItem(int item, bool doubleClic
parent->deleteButton->active = active;
parent->renameButton->active = active;
- if (doubleClick && active)
+ if (doubleClick && active)
{
parent->worldSelected(item);
}
@@ -294,7 +294,7 @@ void SelectWorldScreen::WorldSelectionList::renderItem(int i, int x, int y, int
swprintf(buffer,20,L"%d/%d/%d %d:%02d",time.wDay, time.wMonth, time.wYear, time.wHour, time.wMinute); // 4J - TODO Localise this
id = id + L" (" + buffer;
- __int64 size = levelSummary->getSizeOnDisk();
+ int64_t size = levelSummary->getSizeOnDisk();
id = id + L", " + _toString<float>(size / 1024 * 100 / 1024 / 100.0f) + L" MB)";
wstring info;