fix: git add G no ;

This commit is contained in:
Alex Duan 2024-01-07 15:15:56 +08:00
parent 40e8c2da95
commit d3b13bbb84
1 changed files with 2 additions and 2 deletions

View File

@ -206,8 +206,8 @@ char * strendG(const char* pstr) {
return NULL;
}
char * p = (char *)pstr + len - 3;
if (strcmp(p, "\\G;") == 0 ){
char * p = (char *)pstr + len - 2;
if (strcmp(p, "\\G") == 0 ){
return p;
}