Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F116048717
D42383.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D42383.diff
View Options
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c
--- a/usr.sbin/tzsetup/tzsetup.c
+++ b/usr.sbin/tzsetup/tzsetup.c
@@ -171,6 +171,7 @@
const char *name;
struct continent *continent;
} continent_names[] = {
+ { "UTC", &utc },
{ "Africa", &africa },
{ "America", &america },
{ "Antarctica", &antarctica },
@@ -181,13 +182,13 @@
{ "Europe", &europe },
{ "Indian", &indian },
{ "Pacific", &pacific },
- { "UTC", &utc }
};
static struct continent_items {
char prompt[3];
char title[30];
} continent_items[] = {
+ { "0", "UTC" },
{ "1", "Africa" },
{ "2", "America -- North and South" },
{ "3", "Antarctica" },
@@ -198,14 +199,13 @@
{ "8", "Europe" },
{ "9", "Indian Ocean" },
{ "10", "Pacific Ocean" },
- { "11", "UTC" }
};
#define NCONTINENTS \
(int)((sizeof(continent_items)) / (sizeof(continent_items[0])))
static dialogMenuItem continents[NCONTINENTS];
-#define OCEANP(x) ((x) == 3 || (x) == 5 || (x) == 8 || (x) == 9)
+#define OCEANP(x) ((x) == 4 || (x) == 6 || (x) == 9 || (x) == 10)
static int
continent_country_menu(dialogMenuItem *continent)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 3, 1:52 AM (12 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17916815
Default Alt Text
D42383.diff (1 KB)
Attached To
Mode
D42383: tzsetup: make UTC the first (default) region
Attached
Detach File
Event Timeline
Log In to Comment