summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterland.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp
index 2ecb6f21cd..5d97eebd9d 100644
--- a/indra/newview/llfloaterland.cpp
+++ b/indra/newview/llfloaterland.cpp
@@ -2513,10 +2513,10 @@ void LLPanelLandAccess::refresh()
if (seconds >= 7200)
{
- args["[HOURS]"] = llformat("%d", (seconds / 7200));
+ args["[HOURS]"] = llformat("%d", (seconds / 3600));
duration = parent_floater->getString("Hours", args);
}
- if (seconds >= 3600)
+ else if (seconds >= 3600)
{
duration = "1 " + parent_floater->getString("Hour");
}