Project

General

Profile

Bug #809 » T809.patch

Visual Studio patch for r2665 - Thomas Beutlich, 27 Feb 2012 12:24

View differences:

nikonmn.cpp (working copy)
2478 2478
        oss.copyfmt(os);
2479 2479
        char sign = value.toLong() < 0 ? '-' : '+';
2480 2480
        long h = long(abs(value.toFloat())/60.0);
2481
        long min = abs(value.toFloat()) - h*60;
2481
        long min = long(abs(value.toFloat()) - h*60);
2482 2482
        os << std::fixed << "UTC " << sign << std::setw(2) << std::setfill('0') << h << ":" 
2483 2483
           << std::setw(2) << std::setfill('0') << min;
2484 2484
        os.copyfmt(oss);
(2-2/2)