mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
SMJS: bookmark_folder_get_property: Reflow some code.
This commit is contained in:
parent
1a3b718f98
commit
5899c281ce
@ -171,9 +171,9 @@ bookmark_folder_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
if (!title) return JS_TRUE;
|
||||
|
||||
bookmark = get_bookmark_by_name(folder, title);
|
||||
if (!bookmark) return JS_TRUE;
|
||||
|
||||
*vp = OBJECT_TO_JSVAL(smjs_get_bookmark_object(bookmark));
|
||||
if (bookmark) {
|
||||
*vp = OBJECT_TO_JSVAL(smjs_get_bookmark_object(bookmark));
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user