- if ((Scope == NULL) || (wcscmp (Scope, StrList->Scope) != 0)) {\r
- swprintf (Line, L"#scope %s", StrList->Scope);\r
- fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr);\r
+ if ((Scope == NULL) || (StrCmp (Scope, StrList->Scope) != 0)) {\r
+ UnicodeSPrint (Line, sizeof(Line), L"#scope %s", StrList->Scope);\r
+ fwrite (Line, StrLen (Line) * sizeof (WCHAR), 1, OutFptr);\r