comparison mm7text_ru.cpp @ 809:7bb33867d2cb

Pv[] in sprintfex
author Ritor1
date Tue, 26 Mar 2013 00:09:21 +0600
parents 2bf48d11d742
children 29a8defbad9e
comparison
equal deleted inserted replaced
808:a49b8df4de89 809:7bb33867d2cb
1326 gender_token_defined = true; 1326 gender_token_defined = true;
1327 1327
1328 switch (src[2]) 1328 switch (src[2])
1329 { 1329 {
1330 case 'I': case 'i': 1330 case 'I': case 'i':
1331 case 'V': case 'v':
1332 case 'R': case 'r':
1333 case 'D': case 'd':
1334 case 'T': case 't':
1331 { 1335 {
1332 strncpy(dst, name_begin, name_len); 1336 strncpy(dst, name_begin, name_len);
1333 dst += name_len; 1337 dst += name_len;
1334 } 1338 }
1335 break; 1339 break;
1336 1340
1337 case 'R': case 'r':
1338 case 'D': case 'd':
1339 case 'V': case 'v':
1340 case 'T': case 't':
1341 case 'P': case 'p': 1341 case 'P': case 'p':
1342 { 1342 {
1343 auto token_begin = src; 1343 auto token_begin = src;
1344 int token_len = 1; 1344 int token_len = 1;
1345 for (int i = 0; token_begin[i] != ']'; ++i) 1345 for (int i = 0; token_begin[i] != ']'; ++i)