[haiku-commits] Re: r42824 - haiku/trunk/src/add-ons/accelerants/common

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku-commits@xxxxxxxxxxxxx>
  • Date: Tue, 11 Oct 2011 14:09:46 -0500

On Tue, 11 Oct 2011 20:10:21 +0200 (CEST), joe.prostko@xxxxxxxxx wrote:
Author: jprostko
Date: 2011-10-11 20:10:20 +0200 (Tue, 11 Oct 2011)
New Revision: 42824
Changeset: https://dev.haiku-os.org/changeset/42824

Modified:
haiku/trunk/src/add-ons/accelerants/common/validate_display_mode.cpp
Log:
* Fix build due to missing comma in r42823


Modified:
haiku/trunk/src/add-ons/accelerants/common/validate_display_mode.cpp
===================================================================
---

haiku/trunk/src/add-ons/accelerants/common/validate_display_mode.cpp    
2011-10-11
17:39:43 UTC (rev 42823)
+++

haiku/trunk/src/add-ons/accelerants/common/validate_display_mode.cpp    
2011-10-11
18:10:20 UTC (rev 42824)
@@ -9,7 +9,7 @@
 #include <string.h>


-//#define TRACE_VALIDATION
+#define TRACE_VALIDATION
 #ifdef TRACE_VALIDATION
 #ifdef __cplusplus
 extern "C"
@@ -68,7 +68,7 @@
        }

        if (total > constraints.max_total) {
-               TRACE("%s: total(%" B_PRIu16 ") > max_total(%" B_PRIu16 ")\n"
+               TRACE("%s: total(%" B_PRIu16 ") > max_total(%" B_PRIu16 ")\n",
                        __func__, total, constraints.max_total);
                total = constraints.max_total;
                syncLength = min_c(syncLength, uint16(total - syncStart));


ack! nice catch!

I did several test builds before committing... looks like I did one too few however :)
  -- Alex

Other related posts: