removed use of macro

This commit is contained in:
Michael Miller
2016-09-03 11:35:09 -07:00
parent 2568f60f4c
commit 532a1f5e4d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ size_t HtmlColor::ToNumericalString(char* buf, size_t bufSize) const
color >>= 4;
}
buf[min(bufLen, 7)] = 0;
buf[(bufLen < 7 ? bufLen : 7)] = 0;
}
return 7;
}