diff options
| author | jtx <javier.arraiza@marker.es> | 2013-03-19 16:56:26 +0000 |
|---|---|---|
| committer | jtx <javier.arraiza@marker.es> | 2013-03-19 16:56:26 +0000 |
| commit | fc95705f9d5761fe111a445c51afc505d08738a7 (patch) | |
| tree | 65fed75305c0582b165af2c327fca8246829c836 /src/trace | |
| parent | Merge from trunk (diff) | |
| download | inkscape-fc95705f9d5761fe111a445c51afc505d08738a7.tar.gz inkscape-fc95705f9d5761fe111a445c51afc505d08738a7.zip | |
Fixing regression
(bzr r11950.1.61)
Diffstat (limited to 'src/trace')
| -rw-r--r-- | src/trace/siox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp index 9376fad66..1a1426b83 100644 --- a/src/trace/siox.cpp +++ b/src/trace/siox.cpp @@ -591,7 +591,7 @@ bool SioxImage::writePPM(const std::string &fileName) if (!f) return false; - fprintf(f, "P6 %d %d 255\n", width, height); + fprintf(f, "P6 %u %u 255\n", width, height); for (unsigned int y=0 ; y<height; y++) { @@ -933,7 +933,7 @@ SioxImage Siox::extractForeground(const SioxImage &originalImage, //trace("### bgSignature:%d", bgSignature.size()); - if (bgSignature.size() < 1) + if (bgSignature.empty()) { // segmentation impossible error("Signature size is < 1. Segmentation is impossible"); |
