diff options
author | Sebastian Rittau <srittau@src.gnome.org> | 2002-03-11 04:53:35 +0800 |
---|---|---|
committer | Sebastian Rittau <srittau@src.gnome.org> | 2002-03-11 04:53:35 +0800 |
commit | 06a5c360995f0b1589ea96fcb6a967c481bbb2b1 (patch) | |
tree | 2cb8886e4b3947901ef3900a9bf665f0d5b73ded | |
parent | 0bdf8fdb5529e6cda86403085c1f6870796404d3 (diff) | |
download | gsoc2013-evolution-06a5c360995f0b1589ea96fcb6a967c481bbb2b1.tar gsoc2013-evolution-06a5c360995f0b1589ea96fcb6a967c481bbb2b1.tar.gz gsoc2013-evolution-06a5c360995f0b1589ea96fcb6a967c481bbb2b1.tar.bz2 gsoc2013-evolution-06a5c360995f0b1589ea96fcb6a967c481bbb2b1.tar.lz gsoc2013-evolution-06a5c360995f0b1589ea96fcb6a967c481bbb2b1.tar.xz gsoc2013-evolution-06a5c360995f0b1589ea96fcb6a967c481bbb2b1.tar.zst gsoc2013-evolution-06a5c360995f0b1589ea96fcb6a967c481bbb2b1.zip |
The main window's title is now just one localized string. This should make
* gncal/main.c:
The main window's title is now just one localized string. This
should make l10n easier.
* gncal/calendar-conduit.c:
Move #define of G_LOG_DOMAIN to the top of the file.
* gncal/calendar.h:
* gncal/calendar.c: (calendar_save):
Rewrote function. Does now try to restore the backup file if
writing the calendar file failed. (Bugzilla #51662) Also, make
fname argument const.
* gncal/gncal-full-day.c:
Renamed get_tm_range() to time_row_usage(), documented this function
and cleaned it up.
* gncal/gncal-week-view.c:
Christian/me: Show week numbers. (Bugzilla #26377)
* gncal/corba-cal-factory.h:
s/corba_server_init/init_corba_server/
* gnomecard/sort.c: (gnomecard_do_sort_cards):
Christian: Fixed a crash that occured if an empty card list was
sorted. Also increased sort speed a bit.
* libversit/vobject.c: (fakeCString):
Christian: Fixed possible crashes by just returning an empty
string if NULL is passed in.
* gncal/calobj.c: (ical_object_create_from_vobject):
Christian: Remove a now redundant error check.
* gncal/main.h:
* gncal/main.c:
* gncal/calendar.c: (calendar_day_change):
* gncal/prop.c:
Christian/me: Calendar roll over at midnight. (Bugzilla #6435)
svn path=/trunk/; revision=16090
-rw-r--r-- | libversit/vobject.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libversit/vobject.c b/libversit/vobject.c index d685b04278..2df57c5927 100644 --- a/libversit/vobject.c +++ b/libversit/vobject.c @@ -1435,7 +1435,12 @@ DLLEXPORT(char*) fakeCString(const wchar_t *u) { char *s, *t; int len = uStrLen(u) + 1; + + if (!u) + return strdup(""); + t = s = (char*)malloc(len); + while (*u) { if (*u == (wchar_t)0x2028) *t = '\n'; |