[gnome-builder] libeditorconfig: fix c&p error



commit 20d6603f64d603d45736e287f556b54498781162
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Tue Oct 25 15:13:26 2016 +0200

    libeditorconfig: fix c&p error

 contrib/libeditorconfig/editorconfig_handle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/libeditorconfig/editorconfig_handle.c b/contrib/libeditorconfig/editorconfig_handle.c
index 76ea7eb..13a6ea7 100644
--- a/contrib/libeditorconfig/editorconfig_handle.c
+++ b/contrib/libeditorconfig/editorconfig_handle.c
@@ -112,7 +112,7 @@ void editorconfig_handle_set_version(editorconfig_handle h, int major,
         ((struct editorconfig_handle*)h)->ver.minor = minor;
 
     if (patch >= 0)
-        ((struct editorconfig_handle*)h)->ver.patch = minor;
+        ((struct editorconfig_handle*)h)->ver.patch = patch;
 }
 
 /*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]