comparison src/common.cpp @ 412:498c2ca0b367

Typo fix only
author Chris Cannam
date Mon, 13 Jun 2011 16:56:01 +0100
parents d0ebd797c5a1
children 459b140032d4
comparison
equal deleted inserted replaced
411:d0ebd797c5a1 412:498c2ca0b367
260 260
261 QString uniDecode(QString s) 261 QString uniDecode(QString s)
262 { 262 {
263 QString d; 263 QString d;
264 for (int i = 0; i < s.length(); ++i) { 264 for (int i = 0; i < s.length(); ++i) {
265 // backslash-u escaped with another backslash: replace with a 265 // backslash escaped with another backslash: replace with a
266 // single backslash and skip on 266 // single backslash and skip on
267 if (i+1 < s.length() && s[i] == '\\' && s[i+1] == '\\') { 267 if (i+1 < s.length() && s[i] == '\\' && s[i+1] == '\\') {
268 d += '\\'; 268 d += '\\';
269 i += 1; 269 i += 1;
270 continue; 270 continue;