Commit c7365be7 authored by Roman Sedaikin's avatar Roman Sedaikin

Fixed typo.

parent 168b0b51
...@@ -82,7 +82,7 @@ LayerHandler * findByObject(JNIEnv *env, jobject object) ...@@ -82,7 +82,7 @@ LayerHandler * findByObject(JNIEnv *env, jobject object)
extern "C" extern "C"
{ {
NSWindow *recoursiveSearch(NSView *rootView, CALayer *layer) { NSWindow *recursiveWindowSearch(NSView *rootView, CALayer *layer) {
if (rootView.subviews == nil || rootView.subviews.count == 0) { if (rootView.subviews == nil || rootView.subviews.count == 0) {
return nil; return nil;
} }
...@@ -90,7 +90,7 @@ NSWindow *recoursiveSearch(NSView *rootView, CALayer *layer) { ...@@ -90,7 +90,7 @@ NSWindow *recoursiveSearch(NSView *rootView, CALayer *layer) {
if (child.layer == layer) { if (child.layer == layer) {
return rootView.window; return rootView.window;
} }
NSWindow* recOut = recoursiveSearch(child, layer); NSWindow* recOut = recursiveWindowSearch(child, layer);
if (recOut != nil) { if (recOut != nil) {
return recOut; return recOut;
} }
...@@ -102,7 +102,7 @@ NSWindow *findCALayerWindow(NSView *rootView, CALayer *layer) { ...@@ -102,7 +102,7 @@ NSWindow *findCALayerWindow(NSView *rootView, CALayer *layer) {
if (rootView.layer == layer) { if (rootView.layer == layer) {
return rootView.window; return rootView.window;
} }
return recoursiveSearch(rootView, layer); return recursiveWindowSearch(rootView, layer);
} }
JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_nativeInit(JNIEnv *env, jobject canvas, jlong platformInfoPtr) JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_nativeInit(JNIEnv *env, jobject canvas, jlong platformInfoPtr)
......
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