From 61821ed05d3e79edd756ba0b06c826c4260fbc1f Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Tue, 15 Jan 2019 16:41:13 -0300 Subject: [PATCH] rut is a compnay and run is a person --- lib/misc.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/misc.vala b/lib/misc.vala index 1772b5b..98c9dda 100644 --- a/lib/misc.vala +++ b/lib/misc.vala @@ -149,11 +149,11 @@ namespace LibSernatur { */ public enum Type { /** - * Company + * Person */ RUN, /** - * Person + * Company */ RUT } @@ -299,7 +299,7 @@ namespace LibSernatur { */ public Type type () { uint rut = int.parse (this.clean_rut); - if (rut < 100000000 && rut > 50000000) { + if (rut > 50000000 && rut < 100000000) { // Company return Type.RUT; }