Bläddra i källkod

limit theme version to between 2 and 100, old file add large version numbers and didn't want these to show

ScottBrogden 8 år sedan
förälder
incheckning
ea197d77d1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      OptionsQuickPaste.cpp

+ 1 - 1
OptionsQuickPaste.cpp

@@ -264,7 +264,7 @@ void COptionsQuickPaste::FillThemes()
 		CTheme theme;
 		if (theme.Load(find.GetFileTitle(), true, false))
 		{
-			if (theme.FileVersion() >= 2)
+			if (theme.FileVersion() >= 2 && theme.FileVersion() < 100)
 			{
 				int nIndex = m_cbTheme.AddString(find.GetFileTitle());