Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r451db9e r9b70dd4  
    453453  OWLCMD_VOID("pop-message", owl_command_pop_message, OWL_CTX_RECWIN,
    454454              "pops up a message in a window", "", ""),
    455 
    456   OWLCMD_VOID("openurl", owl_command_openurl, OWL_CTX_INTERACTIVE,
    457               "opens up a URL from the current message",
    458               "",
    459               "Uses the 'webbrowser' variable to determine\n"
    460               "which browser to use.  Currently, 'netscape'\n"
    461               "and 'galeon' are supported.\n"),
    462455
    463456  OWLCMD_ARGS("zaway", owl_command_zaway, OWL_CTX_INTERACTIVE,
     
    641634              "show keymap <keymap>\n"
    642635              "show license\n"
     636              "show quickstart\n"
    643637              "show startup\n"
    644638              "show status\n"
     
    10461040void owl_command_version()
    10471041{
    1048   char buff[1024];
    1049 
    1050   sprintf(buff, "Owl version %s", OWL_VERSION_STRING);
    1051   owl_function_makemsg(buff);
     1042  owl_function_makemsg("BarnOwl version %s", OWL_VERSION_STRING);
    10521043}
    10531044
     
    14611452    owl_function_aaway_on();
    14621453    owl_function_zaway_on();
    1463     owl_function_makemsg("Away messages set.", owl_global_get_aaway_msg_default(&g));
     1454    owl_function_makemsg("Away messages set.");
    14641455    return NULL;
    14651456  }
     
    16911682  }
    16921683
    1693   owl_function_debugmsg(argv[1]);
     1684  owl_function_debugmsg("%s", argv[1]);
    16941685  return(NULL);
    16951686}
     
    22072198  } else if (!strcmp(argv[1], "license")) {
    22082199    owl_function_show_license();
     2200  } else if (!strcmp(argv[1], "quickstart")) {
     2201    owl_function_show_quickstart();
    22092202  } else if (!strcmp(argv[1], "startup")) {
    22102203    char *filename;
     
    22512244{
    22522245  owl_function_curmsg_to_popwin();
    2253 }
    2254 
    2255 void owl_command_openurl(void)
    2256 {
    2257   owl_function_openurl();
    22582246}
    22592247
     
    25802568{
    25812569    buff = skiptokens(buff, 1);
    2582     owl_function_error(buff);
     2570    owl_function_error("%s", buff);
    25832571    return NULL;
    25842572}
     
    25872575{
    25882576    buff = skiptokens(buff, 1);
    2589     owl_function_makemsg(buff);
     2577    owl_function_makemsg("%s", buff);
    25902578    return NULL;
    25912579}
Note: See TracChangeset for help on using the changeset viewer.