diff --git a/dlls/dxerr8/errors.awk b/dlls/dxerr8/errors.awk index 09a38b564c3..a9c8790d2a1 100644 --- a/dlls/dxerr8/errors.awk +++ b/dlls/dxerr8/errors.awk @@ -51,7 +51,7 @@ BEGIN { i = 1 len = length(array[word]) + 1 while (i < len) { - if (substr(array[word],i,1) == "\'") + if (substr(array[word],i,1) == "'") printf "'\\''," else printf "'%s',", substr(array[word],i,1) diff --git a/dlls/dxerr9/errors.awk b/dlls/dxerr9/errors.awk index 09a38b564c3..a9c8790d2a1 100644 --- a/dlls/dxerr9/errors.awk +++ b/dlls/dxerr9/errors.awk @@ -51,7 +51,7 @@ BEGIN { i = 1 len = length(array[word]) + 1 while (i < len) { - if (substr(array[word],i,1) == "\'") + if (substr(array[word],i,1) == "'") printf "'\\''," else printf "'%s',", substr(array[word],i,1)