Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
2bf8754b
Commit
2bf8754b
authored
Apr 21, 2014
by
Hisham Muhammad
Browse files
Remove useless assignment.
parent
f5a469b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Meter.c
View file @
2bf8754b
...
...
@@ -238,11 +238,11 @@ ListItem* Meter_toListItem(Meter* this) {
static
void
TextMeterMode_draw
(
Meter
*
this
,
int
x
,
int
y
,
int
w
)
{
char
buffer
[
METER_BUFFER_LEN
];
Meter_setValues
(
this
,
buffer
,
METER_BUFFER_LEN
-
1
);
(
void
)
w
;
attrset
(
CRT_colors
[
METER_TEXT
]);
mvaddstr
(
y
,
x
,
this
->
caption
);
int
captionLen
=
strlen
(
this
->
caption
);
w
-=
captionLen
;
x
+=
captionLen
;
mvhline
(
y
,
x
,
' '
,
CRT_colors
[
DEFAULT_COLOR
]);
attrset
(
CRT_colors
[
RESET_COLOR
]);
...
...
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