mirror of
https://github.com/BlackLight/cutiepi-lxpanel-battery.git
synced 2024-11-24 04:35:11 +01:00
Indent fix
This commit is contained in:
parent
50a5ec3312
commit
7f0cb722a3
1 changed files with 34 additions and 35 deletions
|
@ -33,7 +33,7 @@ GtkWidget *constructor(LXPanel *panel, config_setting_t *settings)
|
||||||
(void)settings;
|
(void)settings;
|
||||||
|
|
||||||
// make a label out of the hostname
|
// make a label out of the hostname
|
||||||
char cIdBuf[LabelSize+1] = {'\0'};
|
char cIdBuf[LabelSize + 1] = {'\0'};
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
fp = fopen("/etc/hostname", "r");
|
fp = fopen("/etc/hostname", "r");
|
||||||
fgets(cIdBuf, LabelSize, fp);
|
fgets(cIdBuf, LabelSize, fp);
|
||||||
|
@ -74,5 +74,4 @@ LXPanelPluginInit fm_module_init_lxpanel_gtk = {
|
||||||
.one_per_system = 1,
|
.one_per_system = 1,
|
||||||
|
|
||||||
// assigning our functions to provided pointers.
|
// assigning our functions to provided pointers.
|
||||||
.new_instance = constructor
|
.new_instance = constructor};
|
||||||
};
|
|
||||||
|
|
Loading…
Reference in a new issue