~ubuntu-branches/ubuntu/precise/speakup/precise

« back to all changes in this revision

Viewing changes to src/selection.c

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Thibault
  • Date: 2010-08-24 21:34:33 UTC
  • mfrom: (1.3.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20100824213433-suy4gzzolbzkhsgu
Tags: 3.1.5.dfsg.1-1
* New upstream fix-only release.
  Also cherry-pick upstream fixes up to de98895e.
* debian/control: Bump Standards-Version to 3.9.1 (no change needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <linux/slab.h> /* for kmalloc */
1
2
#include <linux/consolemap.h>
2
3
#include <linux/interrupt.h>
3
4
#include <linux/sched.h>
22
23
 
23
24
static unsigned char sel_pos(int n)
24
25
{
25
 
        return inverse_translate(spk_sel_cons, screen_glyph(spk_sel_cons, n));
 
26
        return inverse_translate(spk_sel_cons, screen_glyph(spk_sel_cons, n), 0);
26
27
}
27
28
 
28
29
void speakup_clear_selection(void)