[Spice-devel] [PATCH 06/11] client/windows: fix typo, make error messages unique

Alon Levy alevy at redhat.com
Fri Jan 13 03:35:49 PST 2012


---
 client/windows/platform_utils.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/windows/platform_utils.cpp b/client/windows/platform_utils.cpp
index b57e921..a4405c1 100644
--- a/client/windows/platform_utils.cpp
+++ b/client/windows/platform_utils.cpp
@@ -51,7 +51,7 @@ HBITMAP get_bitmap_res(int id)
 {
     HBITMAP bitmap = LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(id));
     if (!bitmap) {
-        THROW("get bitmpa #%d failed", id);
+        THROW("get bitmap #%d failed", id);
     }
     return bitmap;
 }
@@ -61,7 +61,7 @@ HBITMAP get_alpha_bitmap_res(int id)
     AutoGDIObject bitmap(LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(id), IMAGE_BITMAP, 0, 0,
                                    LR_DEFAULTCOLOR | LR_CREATEDIBSECTION | LR_SHARED));
     if (!bitmap.valid()) {
-        THROW("get bitmpa #%d failed", id);
+        THROW("get alpha bitmap #%d failed", id);
     }
 
     BITMAP src_info;
-- 
1.7.8.2



More information about the Spice-devel mailing list