diff options
| author | root <root@jtx.marker.es> | 2013-03-17 04:32:48 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2013-03-17 04:32:48 +0000 |
| commit | 40e796d977e44a3b31c063af3ca841fb1daa81c6 (patch) | |
| tree | 18b117e449d25b286872fa90cc760d7ba4e80c78 /src/trace/siox.cpp | |
| parent | widget working not compile (diff) | |
| parent | cppcheck (diff) | |
| download | inkscape-40e796d977e44a3b31c063af3ca841fb1daa81c6.tar.gz inkscape-40e796d977e44a3b31c063af3ca841fb1daa81c6.zip | |
Working in widgets
(bzr r11950.1.55)
Diffstat (limited to 'src/trace/siox.cpp')
| -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"); |
