From 95936b87659bc09b75de8944047cd711d5cf45fd Mon Sep 17 00:00:00 2001 From: walbourn_cp Date: Thu, 20 Feb 2014 16:13:36 -0800 Subject: [PATCH] texconv: minor code review feedback --- Texconv/texconv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Texconv/texconv.cpp b/Texconv/texconv.cpp index 03ca6c8..bbc336c 100644 --- a/Texconv/texconv.cpp +++ b/Texconv/texconv.cpp @@ -769,14 +769,14 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) if (swscanf_s(pValue, L"%f", &alphaWeight) != 1) { wprintf( L"Invalid value specified with -aw (%s)\n", pValue); - printf("\n"); + wprintf( L"\n"); PrintUsage(); return 1; } else if ( alphaWeight < 0.f ) { wprintf( L"-aw (%s) parameter must be positive\n", pValue); - printf("\n"); + wprintf( L"\n"); return 1; } break;