Skip to content

Commit

Permalink
some compatibility fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicity committed Dec 4, 2013
1 parent bc0401c commit a0e2b98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/com/advancedtools/cpp/facade/EnvironmentFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static EnvironmentFacade getInstance() {

final boolean is12 = "12".equals(majorVersion) || baselineVersion >= idea12BaseLineVersionStart;
final boolean is13 = "13".equals(majorVersion) || baselineVersion >= idea13BaseLineVersionStart;
String shortClassName = is12 ? "Leda":is13 ? "Cardea":null;
String shortClassName = is13 ? "Cardea":is12 ? "Leda":null;

if (shortClassName == null) {
if (!warnedOnUnsupportedPlatform) {
Expand Down
4 changes: 2 additions & 2 deletions src/com/advancedtools/cpp/psi/MyLookupItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

import com.intellij.codeInsight.lookup.LookupValueWithUIHint;
import com.intellij.codeInsight.lookup.LookupValueWithPriority;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.util.Iconable;
import com.intellij.openapi.editor.Editor;
import com.intellij.util.PlatformIcons;
import com.intellij.util.text.StringTokenizer;
import com.intellij.util.Icons;
import com.advancedtools.cpp.communicator.Communicator;
Expand All @@ -20,7 +20,7 @@
public class MyLookupItem implements LookupValueWithUIHint, Iconable, LookupValueWithPriority {
String type, name, signature;
Icon icon;
private static final Icon macroIcon = AllIcons.Ant.MetaTarget;
private static final Icon macroIcon = PlatformIcons.ADVICE_ICON;

public MyLookupItem(String s) {
try {
Expand Down

0 comments on commit a0e2b98

Please sign in to comment.