Lines Matching refs:fmtw
690 WCHAR *fmtw;
693 fmtw = (WCHAR *)_alloca (len_0*sizeof(WCHAR));
695 fmtw = (WCHAR *)alloca (len_0*sizeof(WCHAR));
697 if (fmtw == NULL) { fmt=(const TCHAR *)L"no stack?"; break; }
700 if (!MultiByteToWideChar(CP_ACP,0,fmta,len_0,fmtw,len_0))
702 for (i=0;i<len_0;i++) fmtw[i]=(WCHAR)fmta[i];
705 { if (fmtw[i]==L'%') do
707 switch (fmtw[i+1])
712 case L's': fmtw[i+1]=L'S'; break;
713 case L'S': fmtw[i+1]=L's'; break;
714 case L'c': fmtw[i+1]=L'C'; break;
715 case L'C': fmtw[i+1]=L'c'; break;
719 fmt = (const TCHAR *)fmtw;