Add UTC-4:30 timezone.
authorCarl Hetherington <cth@carlh.net>
Mon, 25 Apr 2016 09:51:14 +0000 (10:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 25 Apr 2016 09:51:14 +0000 (10:51 +0100)
src/wx/cinema_dialog.cc

index 624fcb13af86d37a75e93cd2bfdef6c5a23bf0c6..43017b56b541efa2af0d4324f79e82fa4f968256 100644 (file)
@@ -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) {