diff scn2k/scn2k_impl.cc @ 61:bdd8a5ff8f46

Revert an old change that disabled cursors...
author Thibaut GIRKA <thib@sitedethib.com>
date Fri, 18 Dec 2009 21:07:29 +0100
parents 6d9146f56ccf
children 3b1593186f12
line wrap: on
line diff
--- a/scn2k/scn2k_impl.cc
+++ b/scn2k/scn2k_impl.cc
@@ -396,7 +396,7 @@ void Scn2k::ShowCursor(void) {
 	const char* name = config->GetParaStr(key);
 	if (name == NULL || name[0] == 0) mouse_surface = DEFAULT_MOUSECURSOR;
 	else
-		mouse_surface = parent.Root().NewSurface("toto", COLOR_MASK);
+		mouse_surface = parent.Root().NewSurface(name, COLOR_MASK);
 	if (mouse_surface == NULL)
 		mouse_surface = DEFAULT_MOUSECURSOR;
 	System::Main::SetCursor(mouse_surface, Rect(8, 8, 8+32, 8+32));