mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 14:04:27 +00:00
[1.47.12]
Change program code for espeak/libespeak to C, remove C++ features. Language changes: af, ga, grc, hu, nl, sw, ta git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@364 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+16
-2
@@ -675,7 +675,7 @@ void SpectDisplay::OnKey(wxKeyEvent& event)
|
||||
break;
|
||||
|
||||
case '[': // width--
|
||||
pk->pkright -= 1;
|
||||
pk->pkright -= 10;
|
||||
if(pk->pkright < 0)
|
||||
pk->pkright = 0;
|
||||
display = 1;
|
||||
@@ -683,7 +683,21 @@ void SpectDisplay::OnKey(wxKeyEvent& event)
|
||||
break;
|
||||
|
||||
case ']': // width++
|
||||
pk->pkright += 1;
|
||||
pk->pkright += 10;
|
||||
display = 1;
|
||||
field = 4;
|
||||
break;
|
||||
|
||||
case '{': // width--
|
||||
pk->pkright -= 2;
|
||||
if(pk->pkright < 0)
|
||||
pk->pkright = 0;
|
||||
display = 1;
|
||||
field = 4;
|
||||
break;
|
||||
|
||||
case '}': // width++
|
||||
pk->pkright += 2;
|
||||
display = 1;
|
||||
field = 4;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user