[haiku-commits] r40872 - haiku/trunk/src/add-ons/translators/webp

  • From: philippe.houdoin@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 8 Mar 2011 17:17:22 +0100 (CET)

Author: phoudoin
Date: 2011-03-08 17:17:22 +0100 (Tue, 08 Mar 2011)
New Revision: 40872
Changeset: http://dev.haiku-os.org/changeset/40872

Modified:
   haiku/trunk/src/add-ons/translators/webp/WebPTranslator.cpp
Log:
Clean wrong spacing, as spotted by Jerome.


Modified: haiku/trunk/src/add-ons/translators/webp/WebPTranslator.cpp
===================================================================
--- haiku/trunk/src/add-ons/translators/webp/WebPTranslator.cpp 2011-03-08 
15:49:31 UTC (rev 40871)
+++ haiku/trunk/src/add-ons/translators/webp/WebPTranslator.cpp 2011-03-08 
16:17:22 UTC (rev 40872)
@@ -292,9 +292,9 @@
        }
        free(bits);
 
-    picture.writer = _EncodedWriter;
-    picture.custom_ptr = target;
-    picture.stats = NULL;
+       picture.writer = _EncodedWriter;
+       picture.custom_ptr = target;
+       picture.stats = NULL;
 
        if (!WebPEncode(&config, &picture)) {
                printf("Error! WebPEncode() failed!\n");
@@ -390,8 +390,8 @@
 WebPTranslator::_EncodedWriter(const uint8_t* data, size_t dataSize,
        const WebPPicture* const picture)
 {
-  BPositionIO* target = (BPositionIO*)picture->custom_ptr;
-  return dataSize ? (target->Write(data, dataSize) == (ssize_t)dataSize) : 1;
+       BPositionIO* target = (BPositionIO*)picture->custom_ptr;
+       return dataSize ? (target->Write(data, dataSize) == (ssize_t)dataSize) 
: 1;
 }
 
 


Other related posts:

  • » [haiku-commits] r40872 - haiku/trunk/src/add-ons/translators/webp - philippe . houdoin