Skip to content

Commit 126023c

Browse files
committed
Merge branch 'master' into stable
2 parents 2f94c89 + b567be4 commit 126023c

File tree

11 files changed

+14
-13
lines changed

11 files changed

+14
-13
lines changed

bin/assets/tic.js.dat

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/android/AndroidManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
-->
55
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
66
package="com.nesbox.tic"
7-
android:versionCode="6001"
8-
android:versionName="0.60.1"
7+
android:versionCode="6003"
8+
android:versionName="0.60.3"
99
android:installLocation="auto">
1010

1111
<!-- Android 2.3.3 -->
@@ -34,7 +34,7 @@
3434
android:hardwareAccelerated="true" >
3535
<activity android:name="TIC"
3636
android:label="@string/app_name"
37-
android:configChanges="keyboardHidden|keyboard|orientation|screenSize"
37+
android:configChanges="keyboardHidden|keyboard|orientation"
3838
>
3939
<intent-filter>
4040
<action android:name="android.intent.action.MAIN" />

build/android/default.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-16
11+
target=android-12

build/android/jni/src/Android.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SRC_PATH := ../../../../src
88
THIRD_PARTY_PATH := ../../../../../3rd-party
99

1010
LOCAL_C_INCLUDES := \
11-
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/SDL2-2.0.7/include \
11+
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/SDL2-2.0.5/include \
1212
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/lua-5.3.1/src \
1313
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/giflib-5.1.4/lib \
1414
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/zlib-1.2.8 \
@@ -20,6 +20,7 @@ LOCAL_C_INCLUDES := \
2020

2121
# Add your application source files here...
2222
LOCAL_SRC_FILES := \
23+
$(THIRD_PARTY_PATH)/SDL2-2.0.5/src/main/android/SDL_android_main.c \
2324
$(THIRD_PARTY_PATH)/duktape-2.2.0/src/duktape.c \
2425
$(THIRD_PARTY_PATH)/blip-buf/blip_buf.c \
2526
$(THIRD_PARTY_PATH)/SDL2_net-2.0.1/SDLnet.c \

build/android/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
14-
target=android-16
14+
target=android-12

build/macosx/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
<key>CFBundlePackageType</key>
2020
<string>APPL</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>0.60.1</string>
22+
<string>0.60.3</string>
2323
<key>CFBundleVersion</key>
24-
<string>0.60.1</string>
24+
<string>0.60.3</string>
2525
<key>NSHumanReadableCopyright</key>
2626
<string>http://tic.computer © 2017</string>
2727
<key>NSHighResolutionCapable</key>

build/uwp/tic/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
3-
<Identity Name="50446Nesbox.TICcomputer" Publisher="CN=1040DC4A-04A1-4B33-9107-C1A9D74775D4" Version="0.60.1.0" />
3+
<Identity Name="50446Nesbox.TICcomputer" Publisher="CN=1040DC4A-04A1-4B33-9107-C1A9D74775D4" Version="0.60.3.0" />
44
<mp:PhoneIdentity PhoneProductId="93515db0-8ee3-478b-933a-5776b58247b2" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
55
<Properties>
66
<DisplayName>TIC-80</DisplayName>

build/windows/tic/tic.aps

0 Bytes
Binary file not shown.

build/windows/tic/tic.rc

0 Bytes
Binary file not shown.

src/tic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ void parseCode(const tic_script_config* config, const char* start, u8* color, co
19981998

19991999
while(true)
20002000
{
2001-
char c = *ptr;
2001+
char c = ptr[0];
20022002

20032003
if(blockCommentStart)
20042004
{
@@ -2135,7 +2135,7 @@ void parseCode(const tic_script_config* config, const char* start, u8* color, co
21352135
ptr += strlen(config->singleComment);
21362136
continue;
21372137
}
2138-
else if(isalpha_(c) && ptr[-1] != '.')
2138+
else if(isalpha_(c))
21392139
{
21402140
wordStart = ptr;
21412141
ptr++;

0 commit comments

Comments
 (0)