Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
511e434
)
ecere/gfx/Bitmap: Fixed returning uninitialized value on failure to obtain a Surface
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 11 Mar 2014 04:01:42 +0000
(
00:01
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 11 Mar 2014 04:01:42 +0000
(
00:01
-0400)
ecere/src/gfx/Bitmap.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gfx/Bitmap.ec
b/ecere/src/gfx/Bitmap.ec
index
93bce15
..
3d9ad51
100644
(file)
--- a/
ecere/src/gfx/Bitmap.ec
+++ b/
ecere/src/gfx/Bitmap.ec
@@
-284,7
+284,7
@@
public:
Surface GetSurface(int x, int y, Box clip)
{
- Surface result;
+ Surface result
= null
;
Surface surface { };
if(surface)
{