pull/6753/head
Gokhan Gulbiz 2023-03-15 08:36:43 +03:00
parent 23f4406d7f
commit 5cd3c8ad11
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
1 changed files with 2 additions and 1 deletions

View File

@ -627,7 +627,8 @@ ExtractTopComment(const char *inputString)
commentEndCharsIndex += commentStartCharsLength; commentEndCharsIndex += commentStartCharsLength;
while (inputString[commentEndCharsIndex] && commentEndCharsIndex < while (inputString[commentEndCharsIndex] && commentEndCharsIndex <
inputStringLen && !(inputString[commentEndCharsIndex] == '*' && inputStringLen && !(inputString[commentEndCharsIndex] == '*' &&
inputString[commentEndCharsIndex + 1] == '/')) inputString
[commentEndCharsIndex + 1] == '/'))
{ {
commentEndCharsIndex++; commentEndCharsIndex++;
} }