diff options
Diffstat (limited to 'src/win95/bmpnames.cpp')
| -rw-r--r-- | src/win95/bmpnames.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win95/bmpnames.cpp b/src/win95/bmpnames.cpp index b27e4ea..56c1282 100644 --- a/src/win95/bmpnames.cpp +++ b/src/win95/bmpnames.cpp @@ -1,3 +1,4 @@ +#include <algorithm> #include <string.h> #include "bmpnames.hpp" #include "mishchnk.hpp" @@ -128,7 +129,7 @@ Chunk_With_BMPs::Chunk_With_BMPs (Chunk_With_Children * parent, const char * con bn.priority = d2; bn.transparency_colour_union = d3; - max_index = max (bn.index, max_index); + max_index = std::max(bn.index, max_index); bmps.add_entry (bn); } |
