mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Trim trailing whitespaces.
This commit is contained in:
parent
d6bb586a00
commit
6c6e75a71d
@ -95,7 +95,7 @@ parse(void)
|
|||||||
space = strchr(current, ' ');
|
space = strchr(current, ' ');
|
||||||
if (!space)
|
if (!space)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
host = find(space + 1, "Host: ");
|
host = find(space + 1, "Host: ");
|
||||||
if (!host)
|
if (!host)
|
||||||
return;
|
return;
|
||||||
|
@ -142,7 +142,7 @@ parse_set_common(struct option *opt_tree, unsigned char **file, int *line,
|
|||||||
|
|
||||||
if (want_domain && *domain_name) {
|
if (want_domain && *domain_name) {
|
||||||
struct option *domain_tree;
|
struct option *domain_tree;
|
||||||
|
|
||||||
domain_tree = get_domain_tree(domain_name);
|
domain_tree = get_domain_tree(domain_name);
|
||||||
if (!domain_tree) {
|
if (!domain_tree) {
|
||||||
mem_free(domain_name);
|
mem_free(domain_name);
|
||||||
|
@ -49,7 +49,7 @@ cache_entry_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
if (!JS_InstanceOf(ctx, obj, (JSClass *) &cache_entry_class, NULL))
|
if (!JS_InstanceOf(ctx, obj, (JSClass *) &cache_entry_class, NULL))
|
||||||
return JS_FALSE;
|
return JS_FALSE;
|
||||||
|
|
||||||
cached = JS_GetInstancePrivate(ctx, obj,
|
cached = JS_GetInstancePrivate(ctx, obj,
|
||||||
(JSClass *) &cache_entry_class, NULL);
|
(JSClass *) &cache_entry_class, NULL);
|
||||||
|
|
||||||
if (!cache_entry_is_valid(cached)) return JS_FALSE;
|
if (!cache_entry_is_valid(cached)) return JS_FALSE;
|
||||||
|
@ -54,7 +54,7 @@ struct screen_char {
|
|||||||
unsigned char color[SCREEN_COLOR_SIZE];
|
unsigned char color[SCREEN_COLOR_SIZE];
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @relates screen_char */
|
/** @relates screen_char */
|
||||||
#define copy_screen_chars(to, from, amount) \
|
#define copy_screen_chars(to, from, amount) \
|
||||||
do { memcpy(to, from, (amount) * sizeof(struct screen_char)); } while (0)
|
do { memcpy(to, from, (amount) * sizeof(struct screen_char)); } while (0)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/** Process' CPU time utilities
|
/** Process' CPU time utilities
|
||||||
* @file*/
|
* @file*/
|
||||||
|
|
||||||
#ifndef EL__UTIL_PROFILE_H
|
#ifndef EL__UTIL_PROFILE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user