comctl32: Clarify DATETIME_GetPrevDateField documentation.

This commit is contained in:
Frédéric Delanoy 2013-11-22 18:04:02 +01:00 committed by Alexandre Julliard
parent a2bcfa28d4
commit ef2a8be648

View File

@ -831,8 +831,8 @@ DATETIME_HitTest (const DATETIME_INFO *infoPtr, POINT pt)
return DTHT_NONE; return DTHT_NONE;
} }
/* Returns index of a closest date field from given counting to left /* Returns index of the nearest preceding date field from given,
or -1 if there's no such field at left */ or -1 if none was found */
static int DATETIME_GetPrevDateField(const DATETIME_INFO *infoPtr, int i) static int DATETIME_GetPrevDateField(const DATETIME_INFO *infoPtr, int i)
{ {
for(--i; i >= 0; i--) for(--i; i >= 0; i--)