~ubuntu-branches/ubuntu/saucy/libcolumbus/saucy

« back to all changes in this revision

Viewing changes to tools/hudtest.cc

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Mathieu Trudel-Lapierre, Ubuntu daily release
  • Date: 2013-08-14 10:09:26 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130814100926-alt0lfyjwfip96sc
Tags: 1.0.0+13.10.20130814-0ubuntu1
[ Mathieu Trudel-Lapierre ]


[ Ubuntu daily release ]
* Automatic snapshot from revision 452

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    double queryStart, queryEnd;
65
65
    try {
66
66
        queryStart = hiresTimestamp();
67
 
        app->m->match(gtk_entry_get_text(GTK_ENTRY(app->entry)), matches);
 
67
        matches = app->m->match(gtk_entry_get_text(GTK_ENTRY(app->entry)));
68
68
        queryEnd = hiresTimestamp();
69
69
    } catch(exception &e) {
70
70
        printf("Matching failed: %s\n", e.what());
181
181
        if(line[line.size()-2] == '\r')
182
182
            line[line.size()-2] = '\0';
183
183
        splitShowableParts(line, pathText, commandText);
184
 
        splitToWords(pathText.c_str(), path);
185
 
        splitToWords(commandText.c_str(), command);
 
184
        path = splitToWords(pathText.c_str());
 
185
        command = splitToWords(commandText.c_str());
186
186
        if(command.size() == 0)
187
187
            continue;
188
188
        Document d(app.pathSource.size());