summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
committerrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
commit398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb (patch)
tree54de30f4702263ee1489af162d6da840e35c0a87 /src/fios.h
parent793b0f0736ac543fb1f6a7e9a4bfd678891e7374 (diff)
downloadopenttd-398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb.tar.xz
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fios.h b/src/fios.h
index 4338be727..42c50a9ba 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -15,7 +15,7 @@
#include "strings_type.h"
#include "core/smallvec_type.hpp"
-enum {
+enum FileSlots {
/**
* Slot used for the GRF scanning and such. This slot cannot be reused
* as it will otherwise cause issues when pressing "rescan directories".
@@ -80,7 +80,7 @@ struct SmallFiosItem {
char title[255]; ///< internal name of the game
};
-enum {
+enum SortingBits {
SORT_ASCENDING = 0,
SORT_DESCENDING = 1,
SORT_BY_DATE = 0,