Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Unified Diff: src/ports/SkTime_win.cpp

Issue 765383002: Fix Windows SkTime version (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkTime_win.cpp
diff --git a/src/ports/SkTime_win.cpp b/src/ports/SkTime_win.cpp
index 37af9f29f5bb2102c3ef5e44dc28c5872d4403c8..bc0f8f008474bcfef45280d417863891cfc39eb8 100644
--- a/src/ports/SkTime_win.cpp
+++ b/src/ports/SkTime_win.cpp
@@ -17,7 +17,7 @@ void SkTime::GetDateTime(DateTime* dt)
GetSystemTime(&st);
dt->fYear = st.wYear;
- dt->fMonth = SkToU8(st.wMonth + 1);
+ dt->fMonth = SkToU8(st.wMonth);
dt->fDayOfWeek = SkToU8(st.wDayOfWeek);
dt->fDay = SkToU8(st.wDay);
dt->fHour = SkToU8(st.wHour);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698