Fixed a couple of problems found by CppCat code analyzer.
* incorrect implementation of ImVec4 operator- which always gives a w value of 0
* boolean formula of ((A && B) || B) can be simplified to just (B)
1 parent 1d76890 commit 4dee8473b54919dcdf78b6bcd77f8dd8a00aa9fd
@Jason Wilkins Jason Wilkins authored on 10 Nov 2015
Showing 2 changed files
View
imgui.cpp
View
imgui_internal.h