projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PsppireDict: Add a quarter of a unit to the displayed width.
[pspp]
/
src
/
ui
/
gui
/
psppire-delimited-text.c
diff --git
a/src/ui/gui/psppire-delimited-text.c
b/src/ui/gui/psppire-delimited-text.c
index a63ccc25dc1852b05efd1022f706adfaca548685..dd13f1c384edf73a93f83027683a431ee39fe44c 100644
(file)
--- a/
src/ui/gui/psppire-delimited-text.c
+++ b/
src/ui/gui/psppire-delimited-text.c
@@
-71,7
+71,7
@@
count_delims (PsppireDelimitedText *tf)
for (p = line; ; p = g_utf8_find_next_char (p, NULL))
{
const gunichar c = g_utf8_get_char (p);
for (p = line; ; p = g_utf8_find_next_char (p, NULL))
{
const gunichar c = g_utf8_get_char (p);
- if (c ==
NULL
)
+ if (c ==
0
)
break;
if (enc == -1)
{
break;
if (enc == -1)
{
@@
-592,15
+592,13
@@
psppire_delimited_text_init (PsppireDelimitedText *text_file)
}
}
-
GtkTreeModel
*
+
PsppireDelimitedText
*
psppire_delimited_text_new (GtkTreeModel *child)
{
psppire_delimited_text_new (GtkTreeModel *child)
{
- PsppireDelimitedText *retval =
+ return
g_object_new (PSPPIRE_TYPE_DELIMITED_TEXT,
"child", child,
NULL);
g_object_new (PSPPIRE_TYPE_DELIMITED_TEXT,
"child", child,
NULL);
-
- return GTK_TREE_MODEL (retval);
}
static void
}
static void