shithub: orca

Download patch

ref: ec0f75ab74ab51ed6673cea514265338408f8bf3
parent: 61ab152b804d8a176da1c82008b177ca3ce5bbe2
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu May 14 13:35:02 EDT 2020

plan9: rename quitcursor to yousure, makes more sense this way

--- a/plan9.c
+++ b/plan9.c
@@ -104,7 +104,7 @@
 static int numsnaps, nextsnap;
 static int maxsnaps = 100;
 
-Cursor quitcursor = {
+static Cursor yousure = {
 	{0, 0},
 	{ 0xf7, 0xfe, 0x15, 0x54, 0x1d, 0x54, 0x09, 0x54,
 	  0x09, 0xdc, 0x00, 0x00, 0x75, 0x77, 0x45, 0x54,
@@ -1590,7 +1590,7 @@
 				} else if (n == Menu3colors) {
 					proccreate(colorsproc, nil, mainstacksize);
 				} else if (n == Menu3exit) {
-					setcursor(mctl, &quitcursor);
+					setcursor(mctl, &yousure);
 					for (;;) {
 						if (recv(mctl->c, &m) == 1) {
 							if (m.buttons == 4)