summaryrefslogtreecommitdiffstats
path: root/src/calendarhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/calendarhandler.cpp')
-rw-r--r--src/calendarhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calendarhandler.cpp b/src/calendarhandler.cpp
index b377485..5a88ac8 100644
--- a/src/calendarhandler.cpp
+++ b/src/calendarhandler.cpp
@@ -239,7 +239,7 @@ TQString CalendarHandler::timezone() {
int len = ::readlink("/etc/localtime", zonefilebuf, PATH_MAX);
if(len > 0 && len < PATH_MAX) {
zone = TQString::fromLocal8Bit(zonefilebuf, len);
- zone = zone.mid(zone.tqfind(TQString::tqfromLatin1("zoneinfo/")) + 9);
+ zone = zone.mid(zone.find(TQString::tqfromLatin1("zoneinfo/")) + 9);
} else {
tzset();
zone = tzname[0];