summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-03 17:12:11 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-07 15:57:56 +0200
commitd97b1a730547c6b40b07e20e6eccf3440b4b30b2 (patch)
treed99b451ca9af08d5915926294e87af5ac2c7bed9 /slideshow
parent4d08dfa3193a96676c911a44c54a3f512b9ebb03 (diff)
add missing braces for if statement, making correct scope
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/test/demoshow.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx
index d59153720cde..2432e3720a7d 100644
--- a/slideshow/test/demoshow.cxx
+++ b/slideshow/test/demoshow.cxx
@@ -487,9 +487,10 @@ IMPL_LINK( DemoWindow, updateHdl, Timer*, EMPTYARG )
init();
if( mxShow.is() )
+ {
double nTimeout;
mxShow->update(nTimeout);
-
+ }
return 0;
}