This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix Size::isValid() check
Signed-off-by: falkTX <falktx@gmail.com>
pull/132/head
falkTX
5 years ago
parent
f080e2d6a4
commit
1503c4eccb
Signed by:
falkTX
<falktx@gmail.com>
GPG Key ID:
2D3445A829213837
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dgl/src/Geometry.cpp
+ 1
- 1
dgl/src/Geometry.cpp
View File
@@ -237,7 +237,7 @@ bool Size<T>::isNotNull() const noexcept
template<typename T>
bool Size<T>::isValid() const noexcept
{
return fWidth >
1 && fHeight > 1
;
return fWidth >
0 && fHeight > 0
;
}
template<typename T>
Write
Preview
Loading…
Cancel
Save