[planner] Fix a typo



commit 859b56bd2ebbd5afdf85691661d16420da0ee199
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Mar 22 00:44:39 2010 +0100

    Fix a typo
    
    Use g_strdup () intead g_strup ()

 libplanner/mrp-time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libplanner/mrp-time.c b/libplanner/mrp-time.c
index e610d11..b8105bb 100644
--- a/libplanner/mrp-time.c
+++ b/libplanner/mrp-time.c
@@ -950,7 +950,7 @@ mrp_time_format_locale (mrptime t)
 	tm = mrp_time_to_tm (t);
 
 	if (!strftime (buffer, sizeof (buffer), format, tm)) {
-		return g_strup ("");
+		return g_strdup ("");
 	}
 
 	return g_strdup (buffer);



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