mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-16 01:57:09 +00:00
gcc-4.5 compatibility fix (kinda)
(kinda = I don't know why it compiled in 4.4 in the first place)
This commit is contained in:
parent
3c7f2192b2
commit
82d563e18a
@ -82,7 +82,7 @@ static void rss_process_info(char *p, int p_max_size, const std::string &uri, ch
|
|||||||
|
|
||||||
std::shared_ptr<PRSS> data = cb->get_result_copy();
|
std::shared_ptr<PRSS> data = cb->get_result_copy();
|
||||||
|
|
||||||
if (data == NULL || data->item_count < 1) {
|
if (!data || data->item_count < 1) {
|
||||||
*p = 0;
|
*p = 0;
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user