GTK+ IRC client
94efa378f7
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 |
||
---|---|---|
.github/workflows | ||
.tx | ||
data | ||
flatpak | ||
osx | ||
plugins | ||
po | ||
src | ||
win32 | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.lgtm.yml | ||
.mailmap | ||
COPYING | ||
Doxyfile | ||
fedora-mingw64.ini | ||
meson_options.txt | ||
meson_post_install.py | ||
meson.build | ||
readme.md |
HexChat
HexChat is an IRC client for Windows and UNIX-like operating systems.
See IRCHelp.org for information about IRC in general.
For more information on HexChat please read our documentation:
X-Chat ("xchat") Copyright (c) 1998-2010 By Peter Zelezny. HexChat ("hexchat") Copyright (c) 2009-2014 By Berke Viktor. This program is released under the GPL v2 with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. You may provide binary packages linked to the OpenSSL libraries, provided that all other requirements of the GPL are met. See file COPYING for details.