Skip to content

Commit

Permalink
Merge pull request #175 into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ehanway-ilm committed Jul 25, 2016
2 parents b16664a + 3aabef2 commit 7513fd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenEXR/IlmImf/ImfVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ const int ALL_FLAGS = TILED_FLAG | LONG_NAMES_FLAG |
//

inline bool isTiled (int version) {return !!(version & TILED_FLAG);}
inline bool isMultiPart (int version) {return version & MULTI_PART_FILE_FLAG; }
inline bool isNonImage(int version) {return version & NON_IMAGE_FLAG; }
inline bool isMultiPart (int version) {return !!(version & MULTI_PART_FILE_FLAG); }
inline bool isNonImage(int version) {return !!(version & NON_IMAGE_FLAG); }
inline int makeTiled (int version) {return version | TILED_FLAG;}
inline int makeNotTiled (int version) {return version & ~TILED_FLAG;}
inline int getVersion (int version) {return version & VERSION_NUMBER_FIELD;}
Expand Down

0 comments on commit 7513fd8

Please sign in to comment.