texconv: minor code review feedback

This commit is contained in:
walbourn_cp 2014-02-20 16:13:36 -08:00
parent d6976ed850
commit 95936b8765

View File

@ -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) if (swscanf_s(pValue, L"%f", &alphaWeight) != 1)
{ {
wprintf( L"Invalid value specified with -aw (%s)\n", pValue); wprintf( L"Invalid value specified with -aw (%s)\n", pValue);
printf("\n"); wprintf( L"\n");
PrintUsage(); PrintUsage();
return 1; return 1;
} }
else if ( alphaWeight < 0.f ) else if ( alphaWeight < 0.f )
{ {
wprintf( L"-aw (%s) parameter must be positive\n", pValue); wprintf( L"-aw (%s) parameter must be positive\n", pValue);
printf("\n"); wprintf( L"\n");
return 1; return 1;
} }
break; break;