Commit 5569b3e8 authored by Roman Sedaikin's avatar Roman Sedaikin

Removed unnecessary condition.

parent b7aa1b9e
...@@ -162,7 +162,7 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_updateLayer(JNIEnv ...@@ -162,7 +162,7 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_updateLayer(JNIEnv
{ {
lockLayers(); lockLayers();
if (layerStorage != nil || [layerStorage count] > 0) if (layerStorage != nil)
{ {
LayerHandler *layer = findByObject(env, canvas); LayerHandler *layer = findByObject(env, canvas);
if (layer != NULL) if (layer != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment