1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

just making bdf5e87c92 easier to read

This commit is contained in:
Nikolas Garofil 2009-07-24 16:17:03 +02:00
parent bdf5e87c92
commit ca04b9a3c7

View File

@ -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;