Skip to content

Commit 00f0f9b

Browse files
author
Robot
committed
Generate sources (ce0f5c7)
1 parent 324d94c commit 00f0f9b

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ version: 0.1.0
189189

190190
dependencies:
191191
crsfml:
192-
github: BlaXpirit/crsfml
192+
github: oprypin/crsfml
193193
version: 1.2.3
194194
```
195195

examples/diagnostics.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class KeyboardView < View
192192

193193
case event.code
194194
when SF::Keyboard::BackSpace
195-
@str = @str.chop
195+
@str = @str.rchop
196196
when SF::Keyboard::Return
197197
@str += '\n'
198198
when SF::Keyboard::Tab

shard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: crsfml
2-
version: 2.4.4
2+
version: 2.4.5
33

44
authors:
55
- Oleh Prypin <[email protected]>
@@ -9,7 +9,7 @@ description: |
99
1010
license: zlib
1111

12-
crystal: 0.20.4
12+
crystal: 0.22.0
1313

1414
libraries:
15-
SFML: 2.4.1
15+
SFML: 2.4.2

src/common.cr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
require "./sizes"
22

33
module SF
4-
VERSION = "2.4.4"
5-
SFML_VERSION = "2.4.1"
4+
VERSION = "2.4.5"
5+
SFML_VERSION = "2.4.2"
66

77
# Raised in shorthand class methods if initialization or resource loading fails
88
class InitError < Exception

src/window/obj.cr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,8 +1936,6 @@ module SF
19361936
# Enumeration of the window styles
19371937
@[Flags]
19381938
enum Style
1939-
# No border / title bar (this flag and all others are mutually exclusive)
1940-
None = 0
19411939
# Title bar + fixed border
19421940
Titlebar = 1 << 0
19431941
# Title bar + resizable border + maximize button

voidcsfml/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ list(APPEND CMAKE_MODULE_PATH "/usr/local/opt/sfml/share/SFML/cmake/Modules") #
242242
find_package(SFML 2.4
243243
COMPONENTS system window graphics audio network REQUIRED
244244
)
245-
if(NOT "2.4.1" STREQUAL "${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH}")
245+
if(NOT "2.4.2" STREQUAL "${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH}")
246246
message(WARNING
247-
"Expecting SFML 2.4.1, "
247+
"Expecting SFML 2.4.2, "
248248
"found SFML ${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH}"
249249
)
250250
endif()

0 commit comments

Comments
 (0)