projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed restoration of the panel divider position.
[psensor.git]
/
src
/
lib
/
hdd_atasmart.c
diff --git
a/src/lib/hdd_atasmart.c
b/src/lib/hdd_atasmart.c
index
3c23509
..
402c92e
100644
(file)
--- a/
src/lib/hdd_atasmart.c
+++ b/
src/lib/hdd_atasmart.c
@@
-172,6
+172,9
@@
void atasmart_psensor_list_update(struct psensor **sensors)
double c;
SkDisk *disk;
+ if (!sensors)
+ return;
+
cur = sensors;
while (*cur) {
s = *cur;