(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
This commit is contained in:
4
window.c
4
window.c
@@ -1614,7 +1614,7 @@ void MouseLoop(int click, int mousewheel)
|
||||
if (vp != NULL) {
|
||||
switch (click) {
|
||||
case 1:
|
||||
DEBUG(misc, 2) ("cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
|
||||
DEBUG(misc, 2, "Cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
|
||||
if (_thd.place_mode != 0 &&
|
||||
// query button and place sign button work in pause mode
|
||||
_cursor.sprite != SPR_CURSOR_QUERY &&
|
||||
@@ -1869,7 +1869,7 @@ void HideVitalWindows(void)
|
||||
|
||||
int PositionMainToolbar(Window *w)
|
||||
{
|
||||
DEBUG(misc, 1) ("Repositioning Main Toolbar...");
|
||||
DEBUG(misc, 5, "Repositioning Main Toolbar...");
|
||||
|
||||
if (w == NULL || w->window_class != WC_MAIN_TOOLBAR) {
|
||||
w = FindWindowById(WC_MAIN_TOOLBAR, 0);
|
||||
|
||||
Reference in New Issue
Block a user