Skip to content

Commit c37ec1b

Browse files
committed
Fix prefix comparison logic
Signed-off-by: JR <[email protected]>
1 parent fed5e40 commit c37ec1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ static int TraceTclCommand(
393393
Tcl_Obj *fullName = Tcl_NewObj();
394394
Tcl_GetCommandFullName(interp, commandToken, fullName);
395395
string fullName_str = Tcl_GetString(fullName);
396-
if(fullName_str.compare(0, 7, "::sta::") ==0){
396+
if(fullName_str.compare(0, 7, "::sta::")!=0){
397397
logger->report("[CMD] "+cmd_str);
398398
}
399399
}

0 commit comments

Comments
 (0)