Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
5d490f68
Commit
5d490f68
authored
Jul 26, 2015
by
Sebastian Ramacher
Browse files
Fix sorting
parent
4f3b1b25
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura/database-plain.c
View file @
5d490f68
...
...
@@ -830,8 +830,8 @@ plain_io_append(GiraraInputHistoryIO* db, const char* input)
static
int
compare_time
(
const
void
*
l
,
const
void
*
r
,
void
*
data
)
{
const
gchar
*
lhs
=
l
;
const
gchar
*
rhs
=
r
;
const
gchar
*
lhs
=
*
(
const
gchar
**
)
l
;
const
gchar
*
rhs
=
*
(
const
gchar
**
)
r
;
GKeyFile
*
keyfile
=
data
;
time_t
lhs_time
=
0
;
...
...
@@ -874,8 +874,9 @@ plain_get_recent_files(zathura_database_t* db, int max)
}
for
(
gsize
s
=
0
;
s
!=
groups_size
;
++
s
)
{
girara_list_append
(
result
,
groups
[
s
]);
girara_list_append
(
result
,
g_strdup
(
groups
[
s
])
)
;
}
g_strfreev
(
groups
);
return
result
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment