[Planner Dev] Bug in planner-window.c:get_last_dir
- From: Jani tiainen <redetin luukku com>
- To: Planner Project Manager - Development List <planner-dev lists imendio com>
- Subject: [Planner Dev] Bug in planner-window.c:get_last_dir
- Date: Wed, 28 Jul 2004 17:46:00 +0300
In planner-window.c, function get_last_dir there is condition:
599 if (last_dir[strlen (last_dir)] != G_DIR_SEPARATOR) {
600 gchar *tmp;
601
602 tmp = g_strconcat (last_dir, G_DIR_SEPARATOR_S, NULL);
603 g_free (last_dir);
604 last_dir = tmp;
605 }
606
should there be:
if (last_dir[strlen(last_dir) - 1] != G_DIR_SEPARATOR) {
--
Jani Tiainen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]