summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-25 10:51:14 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-25 10:51:14 +0100
commit77a45649624c2239bca96b9a8346461ce4f3281c (patch)
tree9297e247b174db1bc91f5a56e22d27d79ca5ad3b /src
parent055531be9496a212c86686936198cd1cf10b619d (diff)
Add UTC-4:30 timezone.
Diffstat (limited to 'src')
-rw-r--r--src/wx/cinema_dialog.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/cinema_dialog.cc b/src/wx/cinema_dialog.cc
index 624fcb13a..43017b56b 100644
--- a/src/wx/cinema_dialog.cc
+++ b/src/wx/cinema_dialog.cc
@@ -84,6 +84,7 @@ CinemaDialog::CinemaDialog (wxWindow* parent, string title, string name, list<st
_offsets.push_back (Offset (_("UTC-7"), -7, 0));
_offsets.push_back (Offset (_("UTC-6"), -6, 0));
_offsets.push_back (Offset (_("UTC-5"), -5, 0));
+ _offsets.push_back (Offset (_("UTC-4:30"), -4, 30));
_offsets.push_back (Offset (_("UTC-4"), -4, 0));
_offsets.push_back (Offset (_("UTC-3:30"), -3, 30));
_offsets.push_back (Offset (_("UTC-3"), -3, 0));
@@ -103,7 +104,8 @@ CinemaDialog::CinemaDialog (wxWindow* parent, string title, string name, list<st
_offsets.push_back (Offset (_("UTC+11"), 11, 0));
_offsets.push_back (Offset (_("UTC+12"), 12, 0));
- size_t sel;
+ /* Default to UTC */
+ size_t sel = 13;
for (size_t i = 0; i < _offsets.size(); ++i) {
_utc_offset->Append (_offsets[i].name);
if (_offsets[i].hour == utc_offset_hour && _offsets[i].minute == utc_offset_minute) {