All pastes #1847341 Raw Edit

clueless

public text v1 · immutable
#1847341 ·published 2010-03-20 22:37 UTC
rendered paste body
Index: src/client/gui/shortcutwindow.cpp===================================================================--- src/client/gui/shortcutwindow.cpp	(revision 5719)+++ src/client/gui/shortcutwindow.cpp	(working copy)@@ -719,7 +719,12 @@     {         const psControl* other = psengine->GetCharControl()->GetMappedTrigger(device,button,mods);         CS_ASSERT(other);-        fingWnd->SetCollisionInfo(other->name);+        csString name = GetDisplayName(other->name);+        if (name.IsEmpty())+            name = "unused";++        name.AppendFmt(" (%s)", other->name.GetDataSafe());+        fingWnd->SetCollisionInfo(name);         return false;     } }