general code cleaning

This commit is contained in:
Andrzej Rybczak
2009-02-15 19:15:52 +01:00
parent 4cdafc5639
commit e6bd98e0a7
24 changed files with 519 additions and 840 deletions

View File

@@ -23,6 +23,7 @@
#include "global.h"
#include "help.h"
#include "settings.h"
#include "tag_editor.h"
using namespace Global;
@@ -43,15 +44,14 @@ void Help::Resize()
void Help::SwitchTo()
{
if (current_screen != csHelp
if (myScreen != myHelp
# ifdef HAVE_TAGLIB_H
&& current_screen != csTinyTagEditor
&& myScreen != myTinyTagEditor
# endif // HAVE_TAGLIB_H
)
{
myScreen = this;
w->Hide();
current_screen = csHelp;
redraw_header = 1;
}
}