added parentheses (corrects smart preprocessor error under Mac OS X)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-11-12 20:19:07 +00:00
parent 024cad37e9
commit 3de71bc877

View File

@@ -549,7 +549,7 @@ median_cut (j_decompress_ptr cinfo, boxptr boxlist, int numboxes,
/* Select box to split.
* Current algorithm: by population for first half, then by volume.
*/
if (numboxes*2 <= desired_colors) {
if ((numboxes*2) <= desired_colors) {
b1 = find_biggest_color_pop(boxlist, numboxes);
} else {
b1 = find_biggest_volume(boxlist, numboxes);