Module: wine
Branch: master
Commit: f57896484c147f7c937f780c322a2d1cc55cff60
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f57896484c147f7c937f780c3…
Author: Maarten Lankhorst <maarten(a)codeweavers.com>
Date: Fri Nov 14 22:50:34 2008 +0100
Revert "quartz: Reaching a renderer in the filtergraph is not an error."
This is plain wrong, input pin and output pin are supposed to be
connected to each other, not the input pin being connected to a renderer
pin and NOT reaching output pin
---
dlls/quartz/filtergraph.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 8b68d2f..7b773ef 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -1030,8 +1030,9 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
if (SUCCEEDED(hr)) {
unsigned int i;
if (nb == 0) {
- TRACE("Reached a renderer\n");
- break;
+ IPin_Disconnect(ppinfilter);
+ IPin_Disconnect(ppinOut);
+ goto error;
}
TRACE("pins to consider: %d\n", nb);
for(i = 0; i < nb; i++)
Module: wine
Branch: master
Commit: 6555ea262c065f6fa8aa92dd592ccf09d4b86eb1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6555ea262c065f6fa8aa92dd5…
Author: Ricardo Filipe <ricardo_barbano(a)hotmail.com>
Date: Wed Nov 12 11:52:56 2008 +0000
winspool.drv: Added Portuguese translation.
---
dlls/winspool.drv/Pt.rc | 39 +++++++++++++++++++++++++++++++++++++++
dlls/winspool.drv/winspool.rc | 1 +
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/dlls/winspool.drv/Pt.rc b/dlls/winspool.drv/Pt.rc
new file mode 100644
index 0000000..f00dc0c
--- /dev/null
+++ b/dlls/winspool.drv/Pt.rc
@@ -0,0 +1,39 @@
+/*
+ * Portuguese resources for winspool
+ *
+ * Copyright 2008 Ricardo Filipe
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
+
+FILENAME_DIALOG DIALOG LOADONCALL MOVEABLE DISCARDABLE 6, 18, 245, 47
+STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
+CAPTION "Imprimir para Ficheiro"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "&Nome de Ficheiro de Destino:", -1, 7, 13, 194, 13, WS_VISIBLE
+ EDITTEXT EDITBOX, 6, 28, 174, 12, WS_VISIBLE | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "OK", IDOK, 199, 10, 40, 14, WS_VISIBLE
+ PUSHBUTTON "Cancelar", IDCANCEL, 199, 27, 40, 14, WS_VISIBLE
+END
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_CAPTION "Porta Local"
+ IDS_FILE_EXISTS "O ficheiro de destino j� existe. Clique OK para reescrever."
+ IDS_CANNOT_OPEN "Imposs�vel criar o ficheiro de destino."
+}
diff --git a/dlls/winspool.drv/winspool.rc b/dlls/winspool.drv/winspool.rc
index 8fd7cb5..805dab6 100644
--- a/dlls/winspool.drv/winspool.rc
+++ b/dlls/winspool.drv/winspool.rc
@@ -52,6 +52,7 @@
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
+#include "Pt.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Sv.rc"