Files
zoitechat/src
Masoud Naservand 94efa378f7 Reverse the notify.conf linked list before writing
hexchat populates the single linked list `notify_list` defined in
`src/common/notify.c` from `notify.conf` file. Each new line read from
the file is added to the list by `g_slist_prepend()` which adds it to
the front of the list. But in `notify_save()` the list elements are read
from the start to end of the list and written to the `notify.conf`. This
means everytime hexchat is opened and closed, the contents of
`notify.conf` get reversed. This commit creates a
temporary glist in `notify_save()` and applies `g_slist_reverse()` on it
and writes the contents of this reversed list to `notify.conf`. And
solves issue #2680
2022-02-17 10:24:59 -06:00
..
2014-12-28 06:44:44 -05:00
2022-01-06 20:36:14 -06:00
2021-05-23 19:43:24 -05:00
2021-05-23 19:43:24 -05:00
2021-07-13 11:26:59 -05:00