Fix 2195749: "Crash when try to open a sif with canvas size to be 0,0". Check the...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 26 Oct 2008 12:15:50 +0000 (12:15 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 26 Oct 2008 12:15:50 +0000 (12:15 +0000)
commit74ae887c20924c523e841e5409196333d0b8a19d
tree1599c749d0f8f5ad4a2f1404db9aa511312d7ff2
parent3f03fad7e1abddbf8b4777a4a926c8b94568b529
Fix 2195749: "Crash when try to open a sif with canvas size to be 0,0".  Check the width and height when loading a canvas.  Prohibit and size less than one.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2130 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/synfig/loadcanvas.cpp