mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Added comments
This commit is contained in:
parent
24e5b2ec16
commit
d3c8185eca
@ -123,6 +123,7 @@ void context_popup(struct gui_window * gw, short x, short y)
|
||||
const char * data;
|
||||
FILE * fp_tmpfile;
|
||||
char cmdline[128];
|
||||
/* skip first byte, which must hold length of commandline: */
|
||||
char * tempfile = &cmdline[1];
|
||||
int err = 0;
|
||||
char * editor, *lastslash;
|
||||
|
@ -26,6 +26,14 @@
|
||||
# define min(x,y) ((x<y) ? x : y )
|
||||
#endif
|
||||
|
||||
/***
|
||||
* Display an message box
|
||||
*
|
||||
* \param type Valid values: GEMTK_MSG_BOX_CONFIRM, GEMTK_MSG_BOX_ALERT
|
||||
* \param msg The message / query to display
|
||||
* \return 0 on "No"
|
||||
*
|
||||
*/
|
||||
short gemtk_msg_box_show(short type, const char * msg)
|
||||
{
|
||||
#define GEMTK_MSG_BOX_STR_SIZE 256
|
||||
|
Loading…
Reference in New Issue
Block a user