[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src/exporters
From: Jason Kivlighn <confederacy2 () excite ! com>
Date: 2003-11-30 22:49:34
[Download RAW message or body]
CVS commit by jkivlighn:
Don't cut off a character of the ingredients when an ingredient uses multiple lines
M +1 -2 mmfexporter.cpp 1.8
--- kdenonbeta/krecipes/src/exporters/mmfexporter.cpp #1.7:1.8
@@ -128,5 +128,5 @@ void MMFExporter::writeMMFIngredients( Q
content += ing_name+"\n";
for ( unsigned int i = 0; i < (ing->name.length()-1) / 28; i++ ) \
//if longer than 28 chars, continue on next line(s)
- content += " -"+ing->name.mid(28*(i+1)+1,28)+"\n";
+ content += " -"+ing->name.mid(28*(i+1),28)+"\n";
}
}
@@ -134,5 +134,4 @@ void MMFExporter::writeMMFIngredients( Q
void MMFExporter::writeMMFDirections( QString &content, Recipe *recipe )
{
- //FIXME: I don't seem to be preserving new-lines
content += wrapText(recipe->instructions,80).join("\n")+"\n";
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic