mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 09:08:25 +00:00
just making bdf5e87c927348a6cf446e2840b2b14ad46a7dbc easier to read
This commit is contained in:
parent
bdf5e87c92
commit
ca04b9a3c7
@ -65,7 +65,8 @@ void rss_process_info(char *p, int p_max_size, char *uri, char *action, int
|
||||
snprintf(p, p_max_size, "prss: Error reading RSS data\n");
|
||||
} else {
|
||||
if (strcmp(action, "feed_title") == EQUAL) {
|
||||
if (str = data->title) {
|
||||
str = data->title;
|
||||
if (str != NULL) {
|
||||
// remove trailing new line if one exists
|
||||
if (str[strlen(str) - 1] == '\n') {
|
||||
str[strlen(str) - 1] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user