]> git.saurik.com Git - wxWidgets.git/commitdiff
removed hard tabs
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Mar 2006 22:57:07 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Mar 2006 22:57:07 +0000 (22:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/bitmap.cpp

index 2f96e67b5ef3b13a39af8b77033eaba1c60da76a..fde2319d3e0dedec53bb51b52bcb78e2c42b1a86 100644 (file)
@@ -808,8 +808,9 @@ bool wxBitmap::CreateFromImage(const wxImage& image, int depth, WXHDC hdc)
     wxDIB dib(image);
     if ( !dib.IsOk() )
         return false;
-       if (depth == -1)
-               depth = dib.GetDepth(); // Get depth from image if none specified
+
+    if ( depth == -1 )
+        depth = dib.GetDepth(); // Get depth from image if none specified
 
     // store the bitmap parameters
     wxBitmapRefData *refData = new wxBitmapRefData;