1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-20 03:17:12 +00:00
This commit is contained in:
Rodrigo Torres
2017-09-10 12:03:09 -03:00
committed by Robin Stuart
parent 1882d76b70
commit 4963a772db
45 changed files with 334 additions and 351 deletions

View File

@@ -81,7 +81,7 @@ void ExportWindow::process()
QString dataString;
QString suffix;
QString Feedback;
int lines, i, j, inputpos, datalen;
int lines, i, j, inputpos;
lines = output_data.count(QChar('\n'), Qt::CaseInsensitive);
inputpos = 0;
@@ -110,7 +110,7 @@ void ExportWindow::process()
Feedback = "";
for(i = 0; i < lines; i++) {
datalen = 0;
int datalen = 0;
for(j = inputpos; ((j < output_data.length()) && (output_data[j] != '\n') ); j++) {
datalen++;
}
@@ -119,12 +119,11 @@ void ExportWindow::process()
case 0: { /* Same as Data (URL Escaped) */
QString url_escaped;
int m;
char name_char;
QChar name_qchar;
for(m = 0; m < dataString.length(); m++) {
name_qchar = dataString[m];
name_char = name_qchar.toLatin1();
char name_char = name_qchar.toLatin1();
switch(name_char) {
case '\\': url_escaped += "%5C"; break;