Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 344842 Details for
Bug 465106
games-action/openastromenace-1.3.1-r1 - patches with several enhancements
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed text input code in Profile Menu for percent sign (%).
percent_sign_profile_input_fix.patch (text/plain), 1.44 KB, created by
Mikhail Kurinnoi
on 2013-04-08 14:23:22 UTC
(
hide
)
Description:
Fixed text input code in Profile Menu for percent sign (%).
Filename:
MIME Type:
Creator:
Mikhail Kurinnoi
Created:
2013-04-08 14:23:22 UTC
Size:
1.44 KB
patch
obsolete
>--- AstroMenaceSource/Main.cpp.orig >+++ AstroMenaceSource/Main.cpp >@@ -1132,7 +1132,6 @@ > // ÑÑÑанавливаем ÑекÑÑий Ñникод нажаÑÐ¾Ñ ÐºÐ»Ð°Ð²Ð¸Ñи > if (event.key.keysym.unicode > 0x001F) // пÑопÑÑкаем С0 Сontrol Characters (енÑеÑ, бÑкÑÐ¿ÐµÐ¹Ñ Ð¸ пÑоÑие...) > if (!((event.key.keysym.unicode >= 0x007F) && (event.key.keysym.unicode <= 0x009F))) // пÑопÑÑкаем С1 Сontrol Characters >- if (event.key.keysym.unicode != 0x0025) // !!! поÑом ÑазобÑаÑÑÑÑ, на Ñимволе % безбожно глÑÑÐ¸Ñ > vw_SetCurrentKeyUnicode(event.key.keysym.unicode); > #ifdef gamedebug > printf("Keydown, Unicode: " ); > >--- AstroMenaceSource/Menu/Menu_Profile.cpp.orig >+++ AstroMenaceSource/Menu/Menu_Profile.cpp >@@ -318,7 +318,7 @@ > vw_SetCurrentKeyUnicode(0); // ÑÑÐ°Ð·Ñ ÑбÑаÑÑваем даннÑе > // делаем пÑоÑÑое пÑеобÑазование, без ÑÑеÑа ÑÑÑÑогаÑной паÑÑ > char* str = NewProfileName + Pos; >- if (NewChar <= 0x7F) >+ if (NewChar <= 0x7F && NewChar != 0x0025) // Ð´Ð»Ñ Ñимвола % иÑполÑзÑем 2 байÑа, инаÑе не коÑÑекÑно бÑÐ´ÐµÑ Ð´Ð¾Ð±Ð°Ð²Ð»ÑÑÑÑÑ Ð¸ ÑдалÑÑÑÑÑ > { > *str = (char)NewChar; > Pos++; >@@ -341,8 +341,6 @@ > vw_FindSoundByNum(SoundTaping)->Stop(0.0f); > > SoundTaping = Audio_PlaySound2D(4,1.0f); >- >- vw_SetCurrentKeyUnicode(0); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 465106
:
344838
|
344840
| 344842