Skip to content

Commit 82a513f

Browse files
committed
style: fix typo
1 parent 1b56627 commit 82a513f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/debugger.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ export function getStructNameFromType(type: string) {
8686
}
8787

8888
/* Search for start of typename - it must be first space before typename */
89-
let startOfIndentifier = type.lastIndexOf(' ', endOfIdentifier);
90-
if (startOfIndentifier === -1) {
89+
let startOfIdentifier = type.lastIndexOf(' ', endOfIdentifier);
90+
if (startOfIdentifier === -1) {
9191
/* Type without any qualifiers */
92-
startOfIndentifier = 0;
92+
startOfIdentifier = 0;
9393
} else {
94-
startOfIndentifier++;
94+
startOfIdentifier++;
9595
}
9696

97-
return type.substring(startOfIndentifier, endOfIdentifier + 1);
97+
return type.substring(startOfIdentifier, endOfIdentifier + 1);
9898
}
9999

100100
/**

0 commit comments

Comments
 (0)