mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 17:41:13 +02:00
Fix misbehavior of TranslatableString::Format in Windows build...
... Make sure it doesn't try to capture this (quite unnecessarily!) but calls the static overload of DoFormat. Make other qualified calls too for added measure.
This commit is contained in:
@@ -356,13 +356,13 @@ TranslatableString &TranslatableString::Join(
|
||||
-> wxString {
|
||||
switch ( request ) {
|
||||
case Request::Context:
|
||||
return DoGetContext( prevFormatter );
|
||||
return TranslatableString::DoGetContext( prevFormatter );
|
||||
case Request::Format:
|
||||
case Request::DebugFormat:
|
||||
default: {
|
||||
bool debug = request == Request::DebugFormat;
|
||||
return
|
||||
DoFormat( prevFormatter, str, debug )
|
||||
TranslatableString::DoFormat( prevFormatter, str, debug )
|
||||
+ separator
|
||||
+ arg.DoFormat( debug );
|
||||
}
|
||||
|
Reference in New Issue
Block a user