From: Christoph Sommer Date: Thu, 3 Jan 2008 18:29:01 +0000 (+0000) Subject: typo X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=82feba7a0539870623b0c125211eec0adac9bf53;p=supertux.git typo SVN-Revision: 5247 --- diff --git a/src/statistics.cpp b/src/statistics.cpp index 653129044..bb07870be 100644 --- a/src/statistics.cpp +++ b/src/statistics.cpp @@ -336,7 +336,7 @@ Statistics::time_to_string(float time) const { int time_csecs = std::min(static_cast(time * 100), 99 * 6000 + 9999); int mins = (time_csecs / 6000); int secs = (time_csecs % 6000) / 100; - int cscs = (time_csecs & 6000) % 100; + int cscs = (time_csecs % 6000) % 100; std::ostringstream os; os << std::setw(2) << std::setfill('0') << mins << ":" << std::setw(2) << std::setfill('0') << secs << "." << std::setw(2) << std::setfill('0') << cscs;