mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
warzone2100: remove leftover patch
This commit is contained in:
parent
2c5ce048a9
commit
a3668a1422
1 changed files with 0 additions and 23 deletions
|
@ -1,23 +0,0 @@
|
||||||
editbox.cpp:127:9: error: ambiguous overload for 'operator==' (operand types are 'QChar' and 'char')
|
|
||||||
if (ch == '\0')
|
|
||||||
|
|
||||||
--- lib/widget/editbox.cpp.orig
|
|
||||||
+++ lib/widget/editbox.cpp
|
|
||||||
@@ -124,7 +124,7 @@ void W_EDITBOX::initialise()
|
|
||||||
/* Insert a character into a text buffer */
|
|
||||||
void W_EDITBOX::insertChar(QChar ch)
|
|
||||||
{
|
|
||||||
- if (ch == '\0')
|
|
||||||
+ if (ch == QChar('\0'))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
@@ -150,7 +150,7 @@ void W_EDITBOX::insertChar(QChar ch)
|
|
||||||
/* Put a character into a text buffer overwriting any text under the cursor */
|
|
||||||
void W_EDITBOX::overwriteChar(QChar ch)
|
|
||||||
{
|
|
||||||
- if (ch == '\0')
|
|
||||||
+ if (ch == QChar('\0'))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue