diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-16 03:59:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-16 07:19:30 +0300 |
commit | 24d2e462962434468eca5b61ba6a8af47440a122 (patch) | |
tree | 36ca40b3791c9e43bcbd11e16469a2407fe0ecdc /source/blender/imbuf | |
parent | 21195a9ea4b0c570224a517d78db2fcd36fa3d41 (diff) |
Add missing newlines for debug prints
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/dds/Image.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/dds/Image.cpp b/source/blender/imbuf/intern/dds/Image.cpp index 6954030aaa2..363af61b907 100644 --- a/source/blender/imbuf/intern/dds/Image.cpp +++ b/source/blender/imbuf/intern/dds/Image.cpp @@ -76,7 +76,7 @@ uint Image::height() const const Color32 * Image::scanline(uint h) const { if (h >= m_height) { - printf("DDS: scanline beyond dimensions of image"); + printf("DDS: scanline beyond dimensions of image\n"); return m_data; } return m_data + h * m_width; @@ -85,7 +85,7 @@ const Color32 * Image::scanline(uint h) const Color32 * Image::scanline(uint h) { if (h >= m_height) { - printf("DDS: scanline beyond dimensions of image"); + printf("DDS: scanline beyond dimensions of image\n"); return m_data; } return m_data + h * m_width; @@ -104,7 +104,7 @@ Color32 * Image::pixels() const Color32 & Image::pixel(uint idx) const { if (idx >= m_width * m_height) { - printf("DDS: pixel beyond dimensions of image"); + printf("DDS: pixel beyond dimensions of image\n"); return m_data[0]; } return m_data[idx]; @@ -113,7 +113,7 @@ const Color32 & Image::pixel(uint idx) const Color32 & Image::pixel(uint idx) { if (idx >= m_width * m_height) { - printf("DDS: pixel beyond dimensions of image"); + printf("DDS: pixel beyond dimensions of image\n"); return m_data[0]; } return m_data[idx]; |