Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
girara
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
girara
Commits
69f41457
Commit
69f41457
authored
Dec 09, 2018
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Divide by 2 as intended
parent
45f84d95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
girara/completion.c
girara/completion.c
+2
-2
No files found.
girara/completion.c
View file @
69f41457
...
...
@@ -434,8 +434,8 @@ girara_isc_completion(girara_session_t* session, girara_argument_t* argument, gi
/* hide other items */
unsigned
int
n_completion_items
=
15
;
girara_setting_get
(
session
,
"n-completion-items"
,
&
n_completion_items
);
unsigned
int
uh
=
ceil
(
n_completion_items
/
2
);
unsigned
int
lh
=
floor
(
n_completion_items
/
2
);
unsigned
int
uh
=
ceil
(
n_completion_items
/
2
.
0
);
unsigned
int
lh
=
floor
(
n_completion_items
/
2
.
0
);
unsigned
int
current_item
=
g_list_position
(
entries
,
entries_current
);
...
...
Write
Preview
Markdown
is supported
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