From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Ponce Newsgroups: gmane.emacs.devel Subject: Minor fix to w32term.c Date: Sun, 23 Mar 2003 10:58:51 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3E7D855B.5050404@wanadoo.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048413400 17162 80.91.224.249 (23 Mar 2003 09:56:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2003 09:56:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Mar 23 10:56:38 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18x2DW-0004Sc-00 for ; Sun, 23 Mar 2003 10:56:38 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18x2GA-0001VQ-00 for ; Sun, 23 Mar 2003 10:59:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18x2CL-000472-01 for emacs-devel@quimby.gnus.org; Sun, 23 Mar 2003 04:55:25 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18x2Bu-0003o5-00 for emacs-devel@gnu.org; Sun, 23 Mar 2003 04:54:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18x2Bo-0003S2-00 for emacs-devel@gnu.org; Sun, 23 Mar 2003 04:54:52 -0500 Original-Received: from smtp1.wanadoo.fr ([193.252.22.25] helo=mwinf0604.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18x2BZ-0002Ot-00 for emacs-devel@gnu.org; Sun, 23 Mar 2003 04:54:37 -0500 Original-Received: from wanadoo.fr (AGrenoble-102-1-1-50.abo.wanadoo.fr [217.128.128.50]) by mwinf0604.wanadoo.fr (Postfix) with ESMTP id 771F128001C6; Sun, 23 Mar 2003 10:54:35 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4a) Gecko/20030318 X-Accept-Language: en-us, en Original-To: storm@cua.dk X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12544 Hi Kim, Here is a small patch I had to apply to w32term.c to compile it. I didn't encountered any problem so far, related to your sources consolidation. (Windows NT 4 SP6a / Mingw gcc 3.2.2, runtime 2.4, w32api 2.2) Thanks for the great work you're doing on Emacs! Sincerely, David Index: src/w32term.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/w32term.c,v retrieving revision 1.184 diff -c -r1.184 w32term.c *** src/w32term.c 21 Mar 2003 22:56:51 -0000 1.184 --- src/w32term.c 23 Mar 2003 09:41:44 -0000 *************** *** 5091,5096 **** --- 5091,5097 ---- and speech synthesizers can follow the cursor. */ if (active_p) { + struct frame *f = XFRAME (WINDOW_FRAME (w)); HWND hwnd = FRAME_W32_WINDOW (f); w32_system_caret_x