mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Formatting: remove spurious spaces in 'type * var'.
I think a lot of these were inserted by a prior run through GNU indent many years ago. I noticed in a more recent experiment that that tool doesn't always correctly distinguish which instances of 'id * id' are pointer variable declarations and which are multiplications, so it spaces some of the former as if they were the latter.
This commit is contained in:
@ -435,7 +435,7 @@ static const struct cp_list_item cp_list[] = {
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
static void link_font(WCHAR * line_tbl, WCHAR * font_tbl, WCHAR attr);
|
||||
static void link_font(WCHAR *line_tbl, WCHAR *font_tbl, WCHAR attr);
|
||||
|
||||
/*
|
||||
* We keep a collection of reverse mappings from Unicode back to code pages,
|
||||
@ -689,7 +689,7 @@ void init_ucs(Conf *conf, struct unicode_data *ucsdata)
|
||||
}
|
||||
}
|
||||
|
||||
static void link_font(WCHAR * line_tbl, WCHAR * font_tbl, WCHAR attr)
|
||||
static void link_font(WCHAR *line_tbl, WCHAR *font_tbl, WCHAR attr)
|
||||
{
|
||||
int font_index, line_index, i;
|
||||
for (line_index = 0; line_index < 256; line_index++) {
|
||||
@ -1200,7 +1200,7 @@ const char *cp_enumerate(int index)
|
||||
return cp_list[index].name;
|
||||
}
|
||||
|
||||
void get_unitab(int codepage, wchar_t * unitab, int ftype)
|
||||
void get_unitab(int codepage, wchar_t *unitab, int ftype)
|
||||
{
|
||||
char tbuf[4];
|
||||
int i, max = 256, flg = MB_ERR_INVALID_CHARS;
|
||||
|
Reference in New Issue
Block a user