[Scummvm-git-logs] scummvm master -> cfa25e9a4af68ea871a73eb1cfbd1f8ca8491e76
lephilousophe
noreply at scummvm.org
Sat May 3 16:04:02 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
cfa25e9a4a COMMON: Use proper macro
Commit: cfa25e9a4af68ea871a73eb1cfbd1f8ca8491e76
https://github.com/scummvm/scummvm/commit/cfa25e9a4af68ea871a73eb1cfbd1f8ca8491e76
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2025-05-03T18:03:23+02:00
Commit Message:
COMMON: Use proper macro
And never commit without building, never.
Changed paths:
common/str.cpp
diff --git a/common/str.cpp b/common/str.cpp
index f0b9dff287f..5f2533af4c1 100644
--- a/common/str.cpp
+++ b/common/str.cpp
@@ -247,7 +247,7 @@ String String::forEachLine(String(*func)(const String, va_list args), ...) const
va_start(args, func);
while (index != npos) {
va_list args_;
- va_copy(args_, args);
+ scumm_va_copy(args_, args);
String textLine = substr(prev_index, index - prev_index);
textLine = (*func)(textLine, args_);
More information about the Scummvm-git-logs
mailing list