summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/QtContextKeywords.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/cplusplus/QtContextKeywords.cpp')
-rw-r--r--src/shared/cplusplus/QtContextKeywords.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/shared/cplusplus/QtContextKeywords.cpp b/src/shared/cplusplus/QtContextKeywords.cpp
index 1b1ff8bb8c..cee2eebe8e 100644
--- a/src/shared/cplusplus/QtContextKeywords.cpp
+++ b/src/shared/cplusplus/QtContextKeywords.cpp
@@ -147,11 +147,11 @@ static inline int classify10(const char *s) {
if (s[2] == 'S') {
if (s[3] == 'I') {
if (s[4] == 'G') {
- if (s[0] == 'N') {
- if (s[1] == 'A') {
- if (s[2] == 'B') {
- if (s[3] == 'L') {
- if (s[4] == 'E') {
+ if (s[5] == 'N') {
+ if (s[6] == 'A') {
+ if (s[7] == 'B') {
+ if (s[8] == 'L') {
+ if (s[9] == 'E') {
return Token_DESIGNABLE;
}
}
@@ -168,11 +168,11 @@ static inline int classify10(const char *s) {
if (s[2] == 'R') {
if (s[3] == 'I') {
if (s[4] == 'P') {
- if (s[0] == 'T') {
- if (s[1] == 'A') {
- if (s[2] == 'B') {
- if (s[3] == 'L') {
- if (s[4] == 'E') {
+ if (s[5] == 'T') {
+ if (s[6] == 'A') {
+ if (s[7] == 'B') {
+ if (s[8] == 'L') {
+ if (s[9] == 'E') {
return Token_SCRIPTABLE;
}
}