1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 00:26:34 +01:00

Merge pull request #200 from mannol1/master

Core adjustments
This commit is contained in:
mannol1
2014-07-28 01:35:58 +02:00
12 changed files with 234 additions and 81 deletions

View File

@@ -30,6 +30,7 @@
#include "line_info.h"
#include "groupchat.h"
#include "settings.h"
#include "notify.h"
extern struct user_settings *user_settings_;
@@ -420,14 +421,14 @@ static void line_info_scroll_up(struct history *hst)
{
if (hst->line_start->prev)
hst->line_start = hst->line_start->prev;
else beep();
else notify(NULL, error, NT_ALWAYS);
}
static void line_info_scroll_down(struct history *hst)
{
if (hst->line_start->next)
hst->line_start = hst->line_start->next;
else beep();
else notify(NULL, error, NT_ALWAYS);
}
static void line_info_page_up(ToxWindow *self, struct history *hst)