mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
update comments
This commit is contained in:
parent
0966b8097c
commit
230e348315
@ -218,8 +218,8 @@ static void ami_context_menu_add_submenu(Object *ctxmenuobj, ULONG cmsub, void *
|
|||||||
* CMSUB_FRAME - userdata = hlcache_object *
|
* CMSUB_FRAME - userdata = hlcache_object *
|
||||||
* CMSUB_URL - userdata = char *
|
* CMSUB_URL - userdata = char *
|
||||||
* CMSUB_OBJECT - userdata = hlcache_object *
|
* CMSUB_OBJECT - userdata = hlcache_object *
|
||||||
* CMSUB_SEL - userdata = gui_window *
|
* CMSUB_SEL - userdata = gui_window * (only for menu construction)
|
||||||
* CMSUB_NAVIGATE - userdata = browser_window * (only for menu construction)
|
* CMSUB_NAVIGATE - userdata = browser_window *
|
||||||
* CMID_SELECTFILE - userdata = ami_file_input_menu_data *
|
* CMID_SELECTFILE - userdata = ami_file_input_menu_data *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -477,8 +477,11 @@ colour_option_from_pen(UWORD pen,
|
|||||||
/* exported interface documented in amiga/gui.h */
|
/* exported interface documented in amiga/gui.h */
|
||||||
STRPTR ami_gui_get_screen_title(void)
|
STRPTR ami_gui_get_screen_title(void)
|
||||||
{
|
{
|
||||||
if(nsscreentitle == NULL)
|
if(nsscreentitle == NULL) {
|
||||||
nsscreentitle = ASPrintf("NetSurf %s", netsurf_version);
|
nsscreentitle = ASPrintf("NetSurf %s", netsurf_version);
|
||||||
|
/* If this fails it will be NULL, which means we'll get the screen's
|
||||||
|
* default titlebar text instead - so no need to check for error. */
|
||||||
|
}
|
||||||
|
|
||||||
return nsscreentitle;
|
return nsscreentitle;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user