Changeset 4fd211f for functions.c


Ignore:
Timestamp:
Apr 3, 2011, 4:00:04 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
9b7b535, 7655e08, 3fa0181, 9efa5bd
Parents:
6a71113
Message:
Use owl_function_makemsg to report no search matches

It's not really an error; certainly not something that should end up in
the error log.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r1a30f05 r4fd211f  
    29592959 
    29602960  if (viewsize==0) {
    2961     owl_function_error("No messages present");
     2961    owl_function_makemsg("No messages present");
    29622962    return;
    29632963  }
     
    29732973  /* bounds check */
    29742974  if (start>=viewsize || start<0) {
    2975     owl_function_error("No further matches found");
     2975    owl_function_makemsg("No further matches found");
    29762976    return;
    29772977  }
     
    30063006  }
    30073007  owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    3008   owl_function_error("No matches found");
     3008  owl_function_makemsg("No matches found");
    30093009}
    30103010
Note: See TracChangeset for help on using the changeset viewer.